LuaGlue:C ++ 11 Lua 5.2绑定库

时间:2021-05-01 00:08:55
【文件属性】:
文件名称:LuaGlue:C ++ 11 Lua 5.2绑定库
文件大小:78KB
文件格式:ZIP
更新时间:2021-05-01 00:08:55
C++ LuaGlue LuaGlue是基于C ++ 11模板的绑定库。 它完全包含在标题中,没有要链接的代码。 许可:Zlib 例子 Lua代码: local test = Foo. new ( 333 ); test: abc ( 1 , 2 , 3 ); print ( " ONE: " .. Foo. ONE ); print ( " TWO: " .. Foo. TWO ); print ( " THREE: " .. Foo. THREE ); C ++代码 # include < LuaGlue> class Foo { public: Foo ( int i) { printf ( " ctor! %i \n " , i); } ~Foo (); int abc ( int a, int b, int c) { printf ( "
【文件预览】:
LuaGlue-master
----CMakeLists.txt(2KB)
----.gitignore(13B)
----examples()
--------CMakeLists.txt(2KB)
--------array.lua(588B)
--------light_sandbox.lua(207B)
--------shared_ptr.cpp(1KB)
--------foo.cpp(2KB)
--------stdfunc.cpp(1KB)
--------plugin_test.cpp(2KB)
--------luavalue.cpp(868B)
--------stdfunc.lua(340B)
--------plugin.cpp(823B)
--------plugin_test.lua(40B)
--------array.cpp(2KB)
--------prof.lua(378B)
--------constobj.cpp(283B)
--------mfilemain.cpp(215B)
--------invoke.lua(743B)
--------luavalue.lua(295B)
--------prof.cpp(4KB)
--------mfile1.cpp(223B)
--------shared_ptr.lua(441B)
--------LuaPluginBase.h(382B)
--------invoke.cpp(3KB)
--------light_sandbox.cpp(866B)
--------props.lua(2KB)
--------mfile2.cpp(229B)
--------foo.lua(838B)
--------props.cpp(4KB)
----include()
--------LuaGlue()
----todo.md(103B)
----cmake()
--------FindLua52.cmake(3KB)
----readme.md(2KB)
----LICENSE.txt(869B)
----tools()
--------Hoof()
--------coverity()

网友评论