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

This is not necessarily a bug report, but I keep running into a crash when accessing any property of a usertype. The failure seems to happen in the lookup of...

Help.Desk

How can I catch the error when trying to call a non-existent user type function, because when I try to call a non-existent function, it crashes in stack::remove in the...

Help.Desk

For a game project I am implementing a console with tab-autocompletion. To get suggestions from `.` or `:` I traverse the metatable of an object, however for derived types the...

Feature.Can Do
Feature.Shiny

Hi ThePhD! I'm on https://github.com/ThePhD/sol2/commit/f56b3c69 Config: ``` #define LUA_VERSION_NUM 501 #define SOL_USING_CXX_LUA 1 #define SOL_ALL_SAFETIES_ON 1 #define SOL_NO_CHECK_NUMBER_PRECISION 1 ``` Usertypes: ``` sol::state_view lua(L); auto gl = sol::stack::get(L, -1); gl.new_usertype("VAO",...

Description: if the tostring function is automatically detected, the program crashes if the usertype is printed. Workarounds: - delete the usertype name from the global namespace (haven't run into problems...

Bug.Aaah!

@ThePhD Hi, first of all thanks a lot for this great library, so useful. Second, regarding to your message of issue: https://github.com/ThePhD/sol2/issues/214 > So this bothered me a lot. In...

So i am trying to make a mini user interface via lua and sol2 seems to be the cleanest approach to interact between C and lua. Basically i am trying...

When I fixed #1047, I reduced the amount of uservalues available to 0. This mean that the `luasetuservalue` call actually fails. This is important, because "dependency" tables are stored in...

Bug.On Fire
Bug.Well Shit
Ahhh.Real Monsters
Good.Luck
Bug.Derp

Using Visual Studio 2019, Windows 10, lua 5.3.5, sol2 (develop 2020-03-29) In a project where I use sol2 in a DLL that's loaded rather unconventionally (MemoryModule https://github.com/fancycode/MemoryModule), I encountered: >...

Maybe.Bug...?

Hi i am a huge fan of your solution, sol2. and i am adapting that solution on emscripten that make wasm. but i cant find the way to make lua...