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 286 sol2 issues
Sort by recently updated
recently updated
newest added
trafficstars

I'm currently using Lua 5.1 (LuaJIT). When using the `require_file` function, I'm getting this error: ``` (More "inlined from" statements above this but they're not important) inlined from 'sol::optional sol::state_view::is_loaded_package(const...

# build system ubuntu 20.04 `clang-12` with `c++20` using Clion 2022.2.1 # lua related `sol-3.2.2 `with `luajit-2.1` # what I did sol::protected_function foo = lua_state["bar"]; lua_state = std::move(new_state); foo =...

Hi. I'm on Debian, trying to build sol2 v3.3.0. This happens: ``` $ mkdir build; cd build; cmake -DSOL2_BUILD_LUA=OFF -DSOL2_EXAMPLES=ON .. && make .... -- Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.4.so;/usr/lib/x86_64-linux-gnu/libm.so (found suitable...

I am using sol2 to expose functionality of plugins (dynamic shared objects) that I can reload during runtime. For instance, I can have plugin A (libplugin_a.so), which has the following...

On the latest major release (candidate) of Clang, sol2 flat out doesn't compile with a fatal error and spits out a bunch of warnings. https://github.com/jpxs-intl/RosaServer/actions/runs/7929791195/job/21650728959 for the run logs, or...

This issue is seemingly very hard to debug, and I'm unable to produce a test case for this (considering this usage of sol2 is pretty out of the ordinary and...

sol version: develop branch compiler: msvc c++: c++20 code: ```c++ #define SOL_SAFE_USERTYPE 0 //#define SOL_SAFE_USERTYPE 1 // When defined as 1, compilation passes #include #include template [[nodiscard]] std::span sol_lua_get( sol::types,...

How could I make it so that when "**panic**" has multiple states the programme would not terminate?

The documentation states SOL_SAFE_FUNCTION, but in code its called SOL_SAFE_FUNCTION(S)