cocos2d/cocos2d-x — pull request #1135 by dualface (2012-07-27 08:03:11+00:00)
Title: some luabinding fix

[Lua] add: CCScriptValueTypeCCObject
[Lua] change: CCNode:onEnter() pass {name = "enter"} to Lua function
[Lua] change: CCNode:onExit() pass {name = "exit"} to Lua function
[Lua] change: move LUA_FUNCTION, LUA_HANDLE, LUA_TABLE, LUA_STRING into cocos2d namespace
[Lua] change: rename CCLuaValue to CCScriptValue
[Lua] fix: CCScriptValue export
[Lua] fix: CCScriptValue memory leaks
[Lua] fix: remove Lua function handler when delete CCNode
[Lua] luabinding: add CCDirector:purgeCachedData()