add id return value to LuaObjectCBridge

This commit is contained in:
andyque 2014-03-20 16:59:18 +08:00
parent cf86fd619f
commit dd790ce54d
3 changed files with 4 additions and 3 deletions

View File

@ -44,7 +44,7 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
buildConfiguration = "Release"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">

View File

@ -14,7 +14,7 @@
+ (int) addTwoNumbers:(NSDictionary *)dict;
+ (void) callbackScriptHandler;
- (void) init;
- (id) init;
@end
#endif // COCOS2DX_SAMPLES_TESTLUA_PROJ_IOS_LUAOBJECTCBRIDGETEST_H

View File

@ -73,9 +73,10 @@ static LuaObjectCBridgeTest* s_instance = nil;
}
}
- (void)init
- (id)init
{
_scriptHandler = 0;
return self;
}
@end