mirror of https://github.com/axmolengine/axmol.git
add id return value to LuaObjectCBridge
This commit is contained in:
parent
cf86fd619f
commit
dd790ce54d
|
@ -44,7 +44,7 @@
|
|||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
buildConfiguration = "Release"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
+ (int) addTwoNumbers:(NSDictionary *)dict;
|
||||
+ (void) callbackScriptHandler;
|
||||
|
||||
- (void) init;
|
||||
- (id) init;
|
||||
@end
|
||||
|
||||
#endif // COCOS2DX_SAMPLES_TESTLUA_PROJ_IOS_LUAOBJECTCBRIDGETEST_H
|
||||
|
|
|
@ -73,9 +73,10 @@ static LuaObjectCBridgeTest* s_instance = nil;
|
|||
}
|
||||
}
|
||||
|
||||
- (void)init
|
||||
- (id)init
|
||||
{
|
||||
_scriptHandler = 0;
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue