diff options
Diffstat (limited to 'fxjs/cjs_util.cpp')
-rw-r--r-- | fxjs/cjs_util.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fxjs/cjs_util.cpp b/fxjs/cjs_util.cpp index 883d022006..0184d44eb4 100644 --- a/fxjs/cjs_util.cpp +++ b/fxjs/cjs_util.cpp @@ -68,6 +68,11 @@ int CJS_Util::ObjDefnID = -1; const char CJS_Util::kName[] = "util"; // static +int CJS_Util::GetObjDefnID() { + return ObjDefnID; +} + +// static void CJS_Util::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj(CJS_Util::kName, FXJSOBJTYPE_STATIC, JSConstructor<CJS_Util>, JSDestructor); |