diff options
author | tsepez <tsepez@chromium.org> | 2016-05-26 12:39:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-26 12:39:34 -0700 |
commit | e3b2a4eca66e357df663a6f7464ef9af5e85883f (patch) | |
tree | b4d591b227e69f9652605fa941611c651e8d6fa4 /xfa/fxjse/include | |
parent | 60607c3baaf52574cab748a97c213e447c9108c0 (diff) | |
download | pdfium-e3b2a4eca66e357df663a6f7464ef9af5e85883f.tar.xz |
Rename FXJSE_CLASS to avoid confusion with CFXJSE_CLASS
BUG=
Review-Url: https://codereview.chromium.org/2010013003
Diffstat (limited to 'xfa/fxjse/include')
-rw-r--r-- | xfa/fxjse/include/fxjse.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/xfa/fxjse/include/fxjse.h b/xfa/fxjse/include/fxjse.h index 4484303046..e5d80ca245 100644 --- a/xfa/fxjse/include/fxjse.h +++ b/xfa/fxjse/include/fxjse.h @@ -39,22 +39,22 @@ enum FXJSE_CompatibleModeFlags { FXJSE_COMPATIBLEMODEFLAGCOUNT = 1, }; -struct FXJSE_FUNCTION { +struct FXJSE_FUNCTION_DESCRIPTOR { const FX_CHAR* name; FXJSE_FuncCallback callbackProc; }; -struct FXJSE_PROPERTY { +struct FXJSE_PROPERTY_DESCRIPTOR { const FX_CHAR* name; FXJSE_PropAccessor getProc; FXJSE_PropAccessor setProc; }; -struct FXJSE_CLASS { +struct FXJSE_CLASS_DESCRIPTOR { const FX_CHAR* name; FXJSE_FuncCallback constructor; - FXJSE_PROPERTY* properties; - FXJSE_FUNCTION* methods; + FXJSE_PROPERTY_DESCRIPTOR* properties; + FXJSE_FUNCTION_DESCRIPTOR* methods; int32_t propNum; int32_t methNum; FXJSE_PropTypeGetter dynPropTypeGetter; @@ -70,9 +70,10 @@ void FXJSE_Finalize(); v8::Isolate* FXJSE_Runtime_Create(); void FXJSE_Runtime_Release(v8::Isolate* pIsolate, bool bOwnedRuntime); -CFXJSE_Context* FXJSE_Context_Create(v8::Isolate* pIsolate, - const FXJSE_CLASS* lpGlobalClass = nullptr, - void* lpGlobalObject = nullptr); +CFXJSE_Context* FXJSE_Context_Create( + v8::Isolate* pIsolate, + const FXJSE_CLASS_DESCRIPTOR* lpGlobalClass = nullptr, + void* lpGlobalObject = nullptr); void FXJSE_Context_Release(CFXJSE_Context* pContext); CFXJSE_Value* FXJSE_Context_GetGlobalObject(CFXJSE_Context* pContext); @@ -80,7 +81,7 @@ void FXJSE_Context_EnableCompatibleMode(CFXJSE_Context* pContext, uint32_t dwCompatibleFlags); CFXJSE_Class* FXJSE_DefineClass(CFXJSE_Context* pContext, - const FXJSE_CLASS* lpClass); + const FXJSE_CLASS_DESCRIPTOR* lpClass); CFXJSE_Value* FXJSE_Value_Create(v8::Isolate* pIsolate); void FXJSE_Value_Release(CFXJSE_Value* pValue); |