From f27aeec59186e7d11a3a2167572617fd5ed42941 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 7 Jun 2016 19:36:18 -0700 Subject: Remove various FXJSE Value methods. This CL removes the FXJSE_Value_Set*, FXJSE_Value_To*, FXJSE_Value_Get* and FXJSE_Value_Delete* methods. Review-Url: https://codereview.chromium.org/2043153002 --- xfa/fxjse/include/fxjse.h | 45 --------------------------------------------- 1 file changed, 45 deletions(-) (limited to 'xfa/fxjse/include/fxjse.h') diff --git a/xfa/fxjse/include/fxjse.h b/xfa/fxjse/include/fxjse.h index cf6fbf9560..835d5de9ba 100644 --- a/xfa/fxjse/include/fxjse.h +++ b/xfa/fxjse/include/fxjse.h @@ -87,51 +87,6 @@ FX_BOOL FXJSE_Value_IsObject(CFXJSE_Value* pValue); FX_BOOL FXJSE_Value_IsArray(CFXJSE_Value* pValue); FX_BOOL FXJSE_Value_IsFunction(CFXJSE_Value* pValue); -FX_BOOL FXJSE_Value_ToBoolean(CFXJSE_Value* pValue); -FX_FLOAT FXJSE_Value_ToFloat(CFXJSE_Value* pValue); -double FXJSE_Value_ToDouble(CFXJSE_Value* pValue); -int32_t FXJSE_Value_ToInteger(CFXJSE_Value* pValue); -void FXJSE_Value_ToUTF8String(CFXJSE_Value* pValue, - CFX_ByteString& szStrOutput); - -void FXJSE_Value_SetUndefined(CFXJSE_Value* pValue); -void FXJSE_Value_SetNull(CFXJSE_Value* pValue); -void FXJSE_Value_SetBoolean(CFXJSE_Value* pValue, FX_BOOL bBoolean); -void FXJSE_Value_SetUTF8String(CFXJSE_Value* pValue, - const CFX_ByteStringC& szString); -void FXJSE_Value_SetInteger(CFXJSE_Value* pValue, int32_t nInteger); -void FXJSE_Value_SetFloat(CFXJSE_Value* pValue, FX_FLOAT fFloat); -void FXJSE_Value_SetDouble(CFXJSE_Value* pValue, double dDouble); -void FXJSE_Value_SetObject(CFXJSE_Value* pValue, - CFXJSE_HostObject* lpObject, - CFXJSE_Class* pClass); -void FXJSE_Value_SetArray(CFXJSE_Value* pValue, - uint32_t uValueCount, - CFXJSE_Value** rgValues); -void FXJSE_Value_Set(CFXJSE_Value* pValue, CFXJSE_Value* pOriginalValue); - -FX_BOOL FXJSE_Value_GetObjectProp(CFXJSE_Value* pValue, - const CFX_ByteStringC& szPropName, - CFXJSE_Value* pPropValue); -FX_BOOL FXJSE_Value_SetObjectProp(CFXJSE_Value* pValue, - const CFX_ByteStringC& szPropName, - CFXJSE_Value* pPropValue); -FX_BOOL FXJSE_Value_GetObjectPropByIdx(CFXJSE_Value* pValue, - uint32_t uPropIdx, - CFXJSE_Value* pPropValue); -FX_BOOL FXJSE_Value_DeleteObjectProp(CFXJSE_Value* pValue, - const CFX_ByteStringC& szPropName); -FX_BOOL FXJSE_Value_ObjectHasOwnProp(CFXJSE_Value* pValue, - const CFX_ByteStringC& szPropName, - FX_BOOL bUseTypeGetter); -FX_BOOL FXJSE_Value_SetObjectOwnProp(CFXJSE_Value* pValue, - const CFX_ByteStringC& szPropName, - CFXJSE_Value* pPropValue); - -FX_BOOL FXJSE_Value_SetFunctionBind(CFXJSE_Value* pValue, - CFXJSE_Value* pOldFunction, - CFXJSE_Value* pNewThis); - FX_BOOL FXJSE_ExecuteScript(CFXJSE_Context* pContext, const FX_CHAR* szScript, CFXJSE_Value* pRetValue, -- cgit v1.2.3