Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOEquipmentType(OOJavaScriptExtensions) Category Reference

Instance Methods

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

Detailed Description

Definition at line 496 of file OOJSEquipmentInfo.m.

Method Documentation

◆ oo_clearJSSelf:

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

Extends class OOEquipmentType.

Definition at line 519 of file OOJSEquipmentInfo.m.

519 :(JSObject *)selfVal
520{
521 if (_jsSelf == selfVal) _jsSelf = NULL;
522}

◆ oo_jsClassName

- (NSString *) oo_jsClassName
implementation

Extends class OOEquipmentType.

Definition at line 513 of file OOJSEquipmentInfo.m.

514{
515 return @"EquipmentInfo";
516}

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 498 of file OOJSEquipmentInfo.m.

498 :(JSContext *)context
499{
500 if (_jsSelf == NULL)
501 {
502 _jsSelf = JS_NewObject(context, &sEquipmentInfoClass, sEquipmentInfoPrototype, NULL);
503 if (_jsSelf != NULL)
504 {
505 if (!JS_SetPrivate(context, _jsSelf, [self retain])) _jsSelf = NULL;
506 }
507 }
508
509 return OBJECT_TO_JSVAL(_jsSelf);
510}
static JSObject * sEquipmentInfoPrototype
static JSClass sEquipmentInfoClass

References sEquipmentInfoClass, and sEquipmentInfoPrototype.


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