sol icon indicating copy to clipboard operation
sol copied to clipboard

A C++11 Lua wrapper

Results 15 sol issues
Sort by recently updated
recently updated
newest added

template struct getter { static T& get(lua_State* L, int index = -1) { void* udata = lua_touserdata(L, index); T** obj = static_cast(udata); return **obj; } }; after: template struct getter...

Any plans on adding iteration capabilities in sol::table ?

Currently, `sol` fails to pass a `sol::table` as a parameter to a `usertype`. Minimum example: ``` c++ class Foo { public: Foo(sol::table /*table*/) { } }; int main() { sol::state...

LUA_COMPAT_APIINTCASTS macro is required to enable lua_tounsigned() in lua 5.3 or else stack.hpp won't compile

Hi guys I recently developed a small script in python which allows to document easily Lua bindings done in C++ side. Perhaps it exists such a tool (some doxygen configuration...

Hello, I creating benchmark (https://github.com/bagobor/cpp2lua-buindings-battle) for lua binding libraries and found that Sol failed to build with modern Visual Studio 2015 ``` c++ template struct check_deducible_signature { template static auto...

Hi, I found this library do not use lua_pcall. I prefer to call a lua function with a message handler to offer a stack trace in error. so a function...

feature request

The following piece of code was not compiling ``` sol::state state; sol::table some_table = state.create_table(); state.set("some_table", some_table); ``` The compilation error which was fixed ``` Users/andreiperciun/Developer/paper-rl/build/sources/libraries/sol/sol_develop/src/project-sol/sol/stack.hpp:344:15: error: cannot initialize return...

Hi I am currently programming a small home brew game and I plan to use Lua along with Sol. My idea is to somewhat use the model exposed by Unity...