awtk/tools/idl_gen
2018-03-26 11:17:38 +08:00
..
.vscode 1.add api doc. 2.add lua generator 2018-03-04 08:32:52 +08:00
.gitignore init 2018-02-21 19:36:38 +08:00
gen_idl.js improve lua binding. 2018-03-10 08:06:02 +08:00
gen_lua.js redesign resource manager 2018-03-18 11:29:31 +08:00
idl.json improve tests and demos 2018-03-26 11:17:38 +08:00
lua_helper.c add lua generator 2018-02-26 12:42:05 +08:00
lua_test.c add lua generator 2018-02-26 12:42:05 +08:00
package-lock.json init 2018-02-21 19:36:38 +08:00
package.json init 2018-02-21 19:36:38 +08:00
README.md improve lua binding. 2018-03-10 08:06:02 +08:00

脚本绑定代码产生器

运行本目录中的工具需要安装nodejs

工作原理:api doc --> idl --> 不同语言的绑定

产生IDL文件

node gen_idl.js

产生lua脚本绑定

node gen_lua.js