Definition at line 225 of file OOJSShipGroup.m.
◆ oo_clearJSSelf:
| - (void) oo_clearJSSelf: |
|
(JSObject *) |
selfVal |
|
|
implementation |
◆ oo_jsValueInContext:
| - (jsval) oo_jsValueInContext: |
|
(JSContext *) |
context |
|
|
implementation |
Definition at line 353 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
The documentation for this category was generated from the following file: