diff options
Diffstat (limited to 'fxjs/cjs_object.h')
-rw-r--r-- | fxjs/cjs_object.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fxjs/cjs_object.h b/fxjs/cjs_object.h index bed5088f03..d929a01496 100644 --- a/fxjs/cjs_object.h +++ b/fxjs/cjs_object.h @@ -38,13 +38,16 @@ class CJS_Object { public: static void DefineConsts(CFXJS_Engine* pEngine, int objId, - const JSConstSpec consts[]); + const JSConstSpec consts[], + size_t count); static void DefineProps(CFXJS_Engine* pEngine, int objId, - const JSPropertySpec props[]); + const JSPropertySpec props[], + size_t count); static void DefineMethods(CFXJS_Engine* pEngine, int objId, - const JSMethodSpec methods[]); + const JSMethodSpec methods[], + size_t count); explicit CJS_Object(v8::Local<v8::Object> pObject); virtual ~CJS_Object(); |