Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
GuiScriptConversions.cpp File Reference
Include dependency graph for GuiScriptConversions.cpp:

Macros

#define SET(obj, name, value)   STMT(JS::RootedValue v_(rq.cx); Script::ToJSVal(rq, &v_, (value)); JS_SetProperty(rq.cx, obj, (name), v_))
 

Macro Definition Documentation

◆ SET

#define SET (   obj,
  name,
  value 
)    STMT(JS::RootedValue v_(rq.cx); Script::ToJSVal(rq, &v_, (value)); JS_SetProperty(rq.cx, obj, (name), v_))