COCOS JSBinding Objects Storage
NativeObject
NativeObjecteg. cocos::Sprite
Added to
_native_js_global_mapAdded to
_js_native_global_map
JSObject
JSObjecteg. cc.Sprite
Added to
_native_js_global_mapAdded to
_js_native_global_mapAdded to
NamedObjectRootGC Thing
_native_js_global_map
/*
Key: NativeObject
void* as the native object. usually cocos2d::Ref
eg. cocos2d::Sprite
*/
<void*, js_proxy_t*> _native_js_global_map;_js_native_global_map
js_proxy_t
_js_global_type_map
js_type_class
Helper APIs
Last updated
Was this helpful?