mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 21:46:09 +00:00
More ScriptInterface const.
Reviewed By: elexis; some comments by bb Differential Revision: https://code.wildfiregames.com/D863 This was SVN commit r20519.
This commit is contained in:
@@ -134,9 +134,7 @@ public:
|
||||
JSObject* CreateCustomObject(const std::string & typeName) const;
|
||||
void DefineCustomObjectType(JSClass *clasp, JSNative constructor, uint minArgs, JSPropertySpec *ps, JSFunctionSpec *fs, JSPropertySpec *static_ps, JSFunctionSpec *static_fs);
|
||||
|
||||
JS::Value GetGlobalObject();
|
||||
|
||||
JSClass* GetGlobalClass();
|
||||
JS::Value GetGlobalObject() const;
|
||||
|
||||
/**
|
||||
* Set the named property on the global object.
|
||||
|
||||
Reference in New Issue
Block a user