This is tolua++-1.0 中文版本
-
What is tolua++?
tolua++ is an extension of toLua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to c++, such as class templates.tolua is a tool that greatly simplifies the integration of C/C++ code with Lua. Based on a "cleaned" header file, tolua automatically generates the binding code to access C/C++ features from Lua. Using Lua-5.0 API and metamethod facilities, the current version automatically maps C/C++ constants, external variables, functions, namespace, classes, and methods to Lua. It also provides facilities to create Lua modules.
-
Availability
tolua++ is freely available for both academic and commercial purposes. See COPYRIGHT for details.
-
Installation
See INSTALL. -
Contacting the author
tolua has been designed and implemented by Waldemar Celes. tolua++ is maintained by Ariel Manzur. And this branch is maintained by stevhuang. -
user manual
you can see this for detail:
https://github.com/dabing1022/Blog/blob/master/tolua/tolua%2B%2B%E4%B8%AD%E6%96%87%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C%5B%E5%AE%8C%E6%95%B4%E7%BF%BB%E8%AF%91%5D.md -
example
you can see a simple test example in the example directory.