Merge to XFA: Use stdint.h types throughout PDFium.
[pdfium.git] / xfa / src / fxfa / src / parser / xfa_script_imp.h
index 9ffb8bc..fc43583 100644 (file)
@@ -27,7 +27,7 @@ public:
     }\r
     virtual FX_BOOL                    RunScript(XFA_SCRIPTLANGTYPE eScriptType, FX_WSTR wsScript, FXJSE_HVALUE hRetValue, CXFA_Object* pThisObject = NULL);\r
 \r
-    virtual FX_INT32           ResolveObjects(CXFA_Object* refNode, FX_WSTR wsExpression, XFA_RESOLVENODE_RS& resolveNodeRS,  FX_DWORD dwStyles = XFA_RESOLVENODE_Children, CXFA_Node* bindNode = NULL);\r
+    virtual int32_t            ResolveObjects(CXFA_Object* refNode, FX_WSTR wsExpression, XFA_RESOLVENODE_RS& resolveNodeRS,  FX_DWORD dwStyles = XFA_RESOLVENODE_Children, CXFA_Node* bindNode = NULL);\r
     virtual FXJSE_HVALUE       GetJSValueFromMap(CXFA_Object* pObject);\r
     virtual void                       CacheList(CXFA_NodeList* pList)\r
     {\r
@@ -42,8 +42,8 @@ public:
         return m_hJsRuntime;\r
     }\r
 \r
-    virtual FX_INT32           GetIndexByName(CXFA_Node* refNode);\r
-    virtual FX_INT32           GetIndexByClassName(CXFA_Node* refNode);\r
+    virtual int32_t            GetIndexByName(CXFA_Node* refNode);\r
+    virtual int32_t            GetIndexByClassName(CXFA_Node* refNode);\r
     virtual void                       GetSomExpression(CXFA_Node* refNode, CFX_WideString &wsExpression);\r
 \r
     virtual void                       SetNodesOfRunScript(CXFA_NodeArray *pArray);\r
@@ -68,8 +68,8 @@ public:
     static void                                NormalPropertyGetter(FXJSE_HOBJECT hObject, FX_BSTR szPropName, FXJSE_HVALUE hValue);\r
     static void                                NormalPropertySetter(FXJSE_HOBJECT hObject, FX_BSTR szPropName, FXJSE_HVALUE hValue);\r
     static void                                NormalMethodCall(FXJSE_HOBJECT hThis, FX_BSTR szFuncName, CFXJSE_Arguments &args);\r
-    static FX_INT32                    NormalPropTypeGetter(FXJSE_HOBJECT hObject, FX_BSTR szPropName, FX_BOOL bQueryIn);\r
-    static FX_INT32                    GlobalPropTypeGetter(FXJSE_HOBJECT hObject, FX_BSTR szPropName, FX_BOOL bQueryIn);\r
+    static int32_t                     NormalPropTypeGetter(FXJSE_HOBJECT hObject, FX_BSTR szPropName, FX_BOOL bQueryIn);\r
+    static int32_t                     GlobalPropTypeGetter(FXJSE_HOBJECT hObject, FX_BSTR szPropName, FX_BOOL bQueryIn);\r
     FX_BOOL                                    RunVariablesScript(CXFA_Node* pScriptNode);\r
     CXFA_Object*                       GetVariablesThis(CXFA_Object* pObject, FX_BOOL bScriptNode = FALSE);\r
     void                                       ReleaseVariablesMap();\r