LuaBridge3 icon indicating copy to clipboard operation
LuaBridge3 copied to clipboard

A lightweight, dependency-free library for binding Lua to C++

Results 16 LuaBridge3 issues
Sort by recently updated
recently updated
newest added

The latest LuaBridge2 supports using vcpkg (https://vcpkg.info/port/luabridge). Are there any plans to also include luabridge3?

enhancement

This PR aims at improving safety of interacting with Stack objects: - Introduced the `luabridge::expected` type, that works similarly as http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0323r10.html, in order to hold the result of `luabridge::LuaRef::cast` and...

Hi there, I'm learning and experimenting with LuaBridge, and have exposed a test `Object` class and have created a `std::vector` in C++. I want to expose this vector (table) of...

question

This PR adds a test that illustrates a bug in the `callWithHandler` function. For some reason when this boolean valued Lua function is called, it returns 2 values instead of...

I am getting a compiler error from the following `addProperty` call: ```cpp class foo { int value{}; public: int get_value_cfunc(lua_State* L) const { luabridge::Stack::push(L, value).throw_on_error(); return 1; } int set_value_cfunc(lua_State...

bug
minor

See https://github.com/kunitoki/LuaBridge3/issues/114#issuecomment-1961532469 for more information

enhancement

```lua function Base:init() print('Base:init()') end function Derived:init() print('Derived:init()') end local base = Base() base:init() -- will call Derived:init() ``` We are registering the `Derived:init` into the `Base:init` slot, which shouldn't...

bug
severe