Merge pull request #112 from samuele3hu/v3_fix_update

Update the register.c for Lua
Merge branch 'develop' of git://github.com/cocos2d/bindings-generator into SkipParse