lua-api
Lua C API: Delete metatable created with luaL_newmetatable?
How can I d开发者_开发技巧elete a metatable foo created with luaL_newmetatable( L, \"foo\" );, so that luaL_getmetatable( L, \"foo\" ); will push a NIL value again?Whatever the reason you may have to[详细]
2023-02-11 23:36 分类:问答Calling lua functions from .lua's using handles?
I\'m working on a small project trying to integrate lua with c++. My problem however is as follows: I have multiple lua scripts, lets call them s1.lua s2.lua and s3.lua. Each of these has the followi[详细]
2023-01-10 20:31 分类:问答Execution time limit for a Lua script called from the C API
luaL_loadfile(mState, path.c_str()); lua_pcall(mState, 0, 0, 0); Is there a way to put an execution time limit (say 10-20 seconds) for those two C++ statements, that load and then execute a lua file[详细]
2023-01-10 15:13 分类:问答django fabric syncdb
How would yourun this django command to syncdbwith fabric automatically. python manage.py syncdb--settings=\"app.settings.test\"[详细]
2022-12-21 09:04 分类:问答