lua-intf icon indicating copy to clipboard operation
lua-intf copied to clipboard

A binding between C++11 and Lua language

Results 22 lua-intf issues
Sort by recently updated
recently updated
newest added

I'm binding a method, that returns a pointer to an object. I have to call a function on this object in Lua. Is it possible to work with the pointer...

as title says, std::vector works fine when it's outside the LuaRef call, hope that you can fix it ^^, thanks for all the work you put into the project. screenshot...

I'm attempting to get the name of the member in the getter function to properly manipulate my data, and I can't seem to use anything for a getter/setter that takes...

```C++ int main() { ... LuaBinding(L).beginModule("c_util") .addFunction("foo", []() { return 123; }) .endModule(); ... } ``` This makes c_util global. Is there any way to make it not global, so...

Hello, Thanks for sharing this great library. It has solve almost all my problems but I still have an issue. I've done all my function and class bindings carefully following...

I am trying to catch exception from LuaRef::toValue(). ``` #include using LuaIntf::LuaRef; std::tuple TestToStr(const LuaRef& luaVal) { try{ std::string s(luaVal.toValue()); return std::make_tuple(LuaRef::fromValue( luaVal.state(), "Hello, " + s), "OK"); } catch(...)...

``` #include "lua.h" #include "LuaIntf/LuaIntf.h" using namespace LuaIntf; class Test { public: Test (lua_State* L) { value = LuaRef::createTable(L); } virtual ~Test () = default; LuaRef value; }; int main()...

Currently, I've been profiling my game engine which utilizes luaintf to expose some of the engine class objects to lua scripts. I've noticed that there is a significant performance drop...

This isn't really a bug report, so much as an FYI. static_cast doesn't work as expected when the type of the source pointer has more than one base with a...