Go to the source code of this file.
|
#define | P(x) if (!JS_NewNumberValue(cx, colour.x, &c)) return JS_FALSE; JS_SetProperty(cx, obj, #x, &c) |
|
#define | P(x, y, z) g_ScriptingHost.SetObjectProperty_Double(obj, #z, area.x.y) |
|
#define | P(x, y, z) area.x.y = (float)g_ScriptingHost.GetObjectProperty_Double(obj, #z) |
|
#define | PROP(x) |
|
#define P |
( |
|
x | ) |
if (!JS_NewNumberValue(cx, colour.x, &c)) return JS_FALSE; JS_SetProperty(cx, obj, #x, &c) |
#define P |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| g_ScriptingHost.SetObjectProperty_Double(obj, #z, area.x.y) |
#define P |
( |
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| area.x.y = (float)g_ScriptingHost.GetObjectProperty_Double(obj, #z) |
Value:JS_GetProperty(cx, obj, #x, &t); \
JS_ValueToNumber(cx, t, &s); \
colour.x = (float)s