Definition at line 225 of file OOJSShipGroup.m.
◆ oo_clearJSSelf:
- (void) oo_clearJSSelf: |
|
(JSObject *) | selfVal |
|
|
implementation |
Extends class OOShipGroup.
Definition at line 246 of file OOJSShipGroup.m.
246 :(JSObject *)selfVal
247{
248 if (_jsSelf == selfVal) _jsSelf = NULL;
249}
◆ oo_jsValueInContext:
- (jsval) oo_jsValueInContext: |
|
(JSContext *) | context |
|
|
implementation |
Extends class OOShipGroup.
Definition at line 227 of file OOJSShipGroup.m.
227 :(JSContext *)context
228{
229 jsval result = JSVAL_NULL;
230
231 if (_jsSelf == NULL)
232 {
234 if (_jsSelf != NULL)
235 {
236 if (!JS_SetPrivate(context, _jsSelf, [self retain])) _jsSelf = NULL;
237 }
238 }
239
240 if (_jsSelf != NULL) result = OBJECT_TO_JSVAL(_jsSelf);
241
242 return result;
243}
static JSObject * sShipGroupPrototype
static JSClass sShipGroupClass
References sShipGroupClass, and sShipGroupPrototype.
The documentation for this category was generated from the following file: