add generated function
Merge branch 'master' of github.com:lichuan/lua2cpp