summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript/util.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-17 13:30:23 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-17 13:30:23 -0800
commitccc948344564f0e2079c3c3a5b1483ab5203fec9 (patch)
treed125f481a7a63a728e8bd2af151f5a633876eaa5 /fpdfsdk/include/javascript/util.h
parentca6c0d3262d994fbb008ee1ae5ff19c1612bc982 (diff)
downloadpdfium-ccc948344564f0e2079c3c3a5b1483ab5203fec9.tar.xz
Merge to XFA: Tidy up JS_Defines.h
Original Review URL: https://codereview.chromium.org/927263003 TBR=brucedawson@chromium.org Review URL: https://codereview.chromium.org/936613002
Diffstat (limited to 'fpdfsdk/include/javascript/util.h')
-rw-r--r--fpdfsdk/include/javascript/util.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/include/javascript/util.h b/fpdfsdk/include/javascript/util.h
index 14857c97cb..b8de46c376 100644
--- a/fpdfsdk/include/javascript/util.h
+++ b/fpdfsdk/include/javascript/util.h
@@ -14,11 +14,11 @@ public:
virtual ~util(void);
public:
- FX_BOOL printd(OBJ_METHOD_PARAMS);
- FX_BOOL printf(OBJ_METHOD_PARAMS);
- FX_BOOL printx(OBJ_METHOD_PARAMS);
- FX_BOOL scand(OBJ_METHOD_PARAMS);
- FX_BOOL byteToChar(OBJ_METHOD_PARAMS);
+ FX_BOOL printd(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError);
+ FX_BOOL printf(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError);
+ FX_BOOL printx(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError);
+ FX_BOOL scand(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError);
+ FX_BOOL byteToChar(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError);
public:
static void printd(const std::wstring &cFormat,CJS_Date Date,bool bXFAPicture, std::wstring &cPurpose);