Oolite 1.91.0.7645-241119-222d325
|
Go to the source code of this file.
Functions | |
void | InitOOJSSystemInfo (JSContext *context, JSObject *global) |
jsval | GetJSSystemInfoForSystem (JSContext *context, OOGalaxyID galaxy, OOSystemID system) |
jsval GetJSSystemInfoForSystem | ( | JSContext * | context, |
OOGalaxyID | galaxy, | ||
OOSystemID | system ) |
Definition at line 297 of file OOJSSystemInfo.m.
References EXPECT_NOT, OOSystemInfo::galaxy, nil, OOJS_BEGIN_FULL_NATIVE, OOJS_END_FULL_NATIVE, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT_JSVAL, OOJSReportWarning(), OOJSValueFromNativeObject(), sCachedGalaxy, sCachedSystem, sCachedSystemInfo, and OOSystemInfo::system.
Referenced by SystemGetProperty(), and SystemStaticInfoForSystem().
void InitOOJSSystemInfo | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 290 of file OOJSSystemInfo.m.
References OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sSystemInfoClass, sSystemInfoMethods, sSystemInfoProperties, sSystemInfoPrototype, and sSystemInfoStaticMethods.