diff options
author | dsinclair <dsinclair@chromium.org> | 2016-03-30 12:59:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-30 12:59:04 -0700 |
commit | 04fd27b3742ace6e76d70e19ca7a4ff178c4cdc5 (patch) | |
tree | e8cee05a1b1cca1e1e3e43574871b3bb453f2b01 /xfa/fxjse/include/fxjse.h | |
parent | 85ff9870a48e3ad69228e7fa813b558f51483028 (diff) | |
download | pdfium-04fd27b3742ace6e76d70e19ca7a4ff178c4cdc5.tar.xz |
Replace FXJSE_DOUBLE with double
FXJSE_DOUBLE was just defined as double. Replace with actual type to make
things clearer.
BUG=pdfium:81
Review URL: https://codereview.chromium.org/1842013003
Diffstat (limited to 'xfa/fxjse/include/fxjse.h')
-rw-r--r-- | xfa/fxjse/include/fxjse.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xfa/fxjse/include/fxjse.h b/xfa/fxjse/include/fxjse.h index 2bf4d7ea69..54901704be 100644 --- a/xfa/fxjse/include/fxjse.h +++ b/xfa/fxjse/include/fxjse.h @@ -19,7 +19,6 @@ typedef struct FXJSE_HCLASS_ { void* pData; } * FXJSE_HCLASS; typedef struct FXJSE_HVALUE_ { void* pData; } * FXJSE_HVALUE; // NOLINTNEXTLINE typedef struct FXJSE_HOBJECT_ : public FXJSE_HVALUE_{} * FXJSE_HOBJECT; -typedef double FXJSE_DOUBLE; typedef void (*FXJSE_FuncCallback)(FXJSE_HOBJECT hThis, const CFX_ByteStringC& szFuncName, @@ -110,7 +109,7 @@ FX_BOOL FXJSE_Value_IsDate(FXJSE_HVALUE hValue); FX_BOOL FXJSE_Value_ToBoolean(FXJSE_HVALUE hValue); FX_FLOAT FXJSE_Value_ToFloat(FXJSE_HVALUE hValue); -FXJSE_DOUBLE FXJSE_Value_ToDouble(FXJSE_HVALUE hValue); +double FXJSE_Value_ToDouble(FXJSE_HVALUE hValue); int32_t FXJSE_Value_ToInteger(FXJSE_HVALUE hValue); void FXJSE_Value_ToUTF8String(FXJSE_HVALUE hValue, CFX_ByteString& szStrOutput); void* FXJSE_Value_ToObject(FXJSE_HVALUE hValue, FXJSE_HCLASS hClass); @@ -122,14 +121,14 @@ void FXJSE_Value_SetUTF8String(FXJSE_HVALUE hValue, const CFX_ByteStringC& szString); void FXJSE_Value_SetInteger(FXJSE_HVALUE hValue, int32_t nInteger); void FXJSE_Value_SetFloat(FXJSE_HVALUE hValue, FX_FLOAT fFloat); -void FXJSE_Value_SetDouble(FXJSE_HVALUE hValue, FXJSE_DOUBLE dDouble); +void FXJSE_Value_SetDouble(FXJSE_HVALUE hValue, double dDouble); void FXJSE_Value_SetObject(FXJSE_HVALUE hValue, void* lpObject, FXJSE_HCLASS hClass); void FXJSE_Value_SetArray(FXJSE_HVALUE hValue, uint32_t uValueCount, FXJSE_HVALUE* rgValues); -void FXJSE_Value_SetDate(FXJSE_HVALUE hValue, FXJSE_DOUBLE dDouble); +void FXJSE_Value_SetDate(FXJSE_HVALUE hValue, double dDouble); void FXJSE_Value_Set(FXJSE_HVALUE hValue, FXJSE_HVALUE hOriginalValue); FX_BOOL FXJSE_Value_GetObjectProp(FXJSE_HVALUE hValue, |