JS_FS_END \
}; \
scriptInterface.DefineCustomObjectType(&class_ICmp##iname, NULL, 0, NULL, methods_ICmp##iname, NULL, NULL); \
} \
bool ICmp##iname::NewJSObject(
const ScriptInterface& scriptInterface, JS::MutableHandleObject
out)
const\
{ \
return true; \
} \
void RegisterComponentInterface_##iname(
ScriptInterface& scriptInterface) { \
ICmp##iname::InterfaceInit(scriptInterface); \
}
Abstraction around a SpiderMonkey JS::Realm.
Definition: ScriptInterface.h:72
JSObject * CreateCustomObject(const std::string &typeName) const
Definition: ScriptInterface.cpp:518
static void out(const wchar_t *fmt,...)
Definition: wdbg_sym.cpp:407