1
0
forked from mirrors/0ad

Rename JSInterface_GUITypes to JSInterface_GUISize, refs 8734efca94, 9be8a560a9.

Rename init to RegisterScriptClass.

Differential Revision: https://code.wildfiregames.com/D2339
Tested on: clang 8.0.1., Jenkins/vs2015

This was SVN commit r23018.
This commit is contained in:
elexis
2019-09-30 08:19:56 +00:00
parent d5b9919b00
commit 218399bf3d
7 changed files with 36 additions and 45 deletions
@@ -24,6 +24,9 @@ namespace JSI_IGUIObject
{
extern JSClass JSI_class;
extern JSFunctionSpec JSI_methods[];
void RegisterScriptClass(ScriptInterface& scriptInterface);
bool getProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp);
bool setProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, JS::MutableHandleValue vp, JS::ObjectOpResult& result);
bool toString(JSContext* cx, uint argc, JS::Value* vp);
@@ -31,7 +34,6 @@ namespace JSI_IGUIObject
bool blur(JSContext* cx, uint argc, JS::Value* vp);
bool getComputedSize(JSContext* cx, uint argc, JS::Value* vp);
bool getTextSize(JSContext* cx, uint argc, JS::Value* vp);
void init(ScriptInterface& scriptInterface);
}
#endif // INCLUDED_JSI_IGUIOBJECT