Oolite 1.91.0.7708-250910-30bbc4c
Loading...
Searching...
No Matches
OOEquipmentType(OOJavaScriptExtensions) Category Reference

Instance Methods

(jsval) - oo_jsValueInContext: [implementation]
(NSString *) - oo_jsClassName [implementation]
(void) - oo_clearJSSelf: [implementation]

Detailed Description

Definition at line 514 of file OOJSEquipmentInfo.m.

Method Documentation

◆ oo_clearJSSelf:

- (void) oo_clearJSSelf: (JSObject *) selfVal
implementation

Extends class OOEquipmentType.

Definition at line 537 of file OOJSEquipmentInfo.m.

537 :(JSObject *)selfVal
538{
539 if (_jsSelf == selfVal) _jsSelf = NULL;
540}

◆ oo_jsClassName

- (NSString *) oo_jsClassName
implementation

Extends class OOEquipmentType.

Definition at line 531 of file OOJSEquipmentInfo.m.

532{
533 return @"EquipmentInfo";
534}

References oo_jsClassName.

Referenced by oo_jsClassName.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ oo_jsValueInContext:

- (jsval) oo_jsValueInContext: (JSContext *) context
implementation

Extends class OOEquipmentType.

Definition at line 516 of file OOJSEquipmentInfo.m.

516 :(JSContext *)context
517{
518 if (_jsSelf == NULL)
519 {
520 _jsSelf = JS_NewObject(context, &sEquipmentInfoClass, sEquipmentInfoPrototype, NULL);
521 if (_jsSelf != NULL)
522 {
523 if (!JS_SetPrivate(context, _jsSelf, [self retain])) _jsSelf = NULL;
524 }
525 }
526
527 return OBJECT_TO_JSVAL(_jsSelf);
528}
static JSObject * sEquipmentInfoPrototype
static JSClass sEquipmentInfoClass

References sEquipmentInfoClass, and sEquipmentInfoPrototype.


The documentation for this category was generated from the following file: