mirror of https://github.com/axmolengine/axmol.git
issue #1530: Assigned JSVAL_VOID to member variables for JSCallbackWrapper class.
This commit is contained in:
parent
b3c6f1a2e1
commit
026662ee5f
|
@ -82,7 +82,7 @@ void register_cocos2dx_js_extensions(JSContext* cx, JSObject* obj);
|
|||
|
||||
class JSCallbackWrapper: public CCObject {
|
||||
public:
|
||||
JSCallbackWrapper() {}
|
||||
JSCallbackWrapper() : jsCallback(JSVAL_VOID), jsThisObj(JSVAL_VOID), extraData(JSVAL_VOID) {}
|
||||
virtual ~JSCallbackWrapper(void) {}
|
||||
void setJSCallbackFunc(jsval obj);
|
||||
void setJSCallbackThis(jsval thisObj);
|
||||
|
|
Loading…
Reference in New Issue