sol2 icon indicating copy to clipboard operation
sol2 copied to clipboard

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

Results 318 sol2 issues
Sort by recently updated
recently updated
newest added

I had a project resting for a while and am picking it up again and I now have broken builds in release mode while debug builds still work. I tried...

Looks like a stale version number has slipped into the latest release. Download the latest release which is advertised as 3.3.0 from https://github.com/ThePhD/sol2/releases sol.hpp has version strings 3.2.0 ``` #include...

Hello, I have the following code ``` #include #include #define SOL_ALL_SAFETIES_ON 1 #include struct MyEntity {}; std::string GetSomething(MyEntity& entity, const char* key, sol::this_state this_state, sol::this_environment this_env) { std::printf("GetSomething, key='%s', has...

I have a 5 pair multimap but when I try to pass it back from C++ to lua, it swallows the duplicate key pairs and gives me a map with...

Looks like `docs` just needs to be changed to `documentation` in the links.

When calling a c-bound function from Lua under a `sol::this_environment` with `sol::variadic_args`, the final parameter appears duplicated when passed to the function. ```cpp #include int main() { sol::state state; state.open_libraries();...

Hello, i am having a problem, when i try to call the constructor of a derived class, here the case in synthesis: **c++** ``` class GameScreen { public: GameScreen(); GameScreen(ScreenType);...

Using ``` sol::state lua; lua.open_libraries(sol::lib::base); ``` creates a mirror of _G at top level called "base". which is undocumented AFAIK. ``` print(base == _G) true ```

Identical conditions: https://github.com/ThePhD/sol2/blob/develop/include/sol/stack_core.hpp#L1409-L1410 Shouldn't the second be something else?

The following code crashes somewhere deep in sol while trying to increment a `pairs_iterator`. ```cpp #include int main() { struct Foo { int getBar() { return 1; } void setBar(int)...