sol2
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:
We believe to have found an issue when trying to get an optional shared pointer to a base class, when instead the object is another usertype that was exposed by...
I assumed that a function accepting an optional X should only be allowed to be called with X or nil, but instead it's called with `nullopt` for invalid types. Example:...
Is it possible to add constructors at different times instead of all at once when registering the user type? I was playing around with RTTR, since I plan to use...
I am a lua newbie. This is not a bug report nor a feature request. The problem maybe simple for you guys but really drive me nuts, that how to...
[godbolt example](https://godbolt.org/z/rq3E6oaac) This is related to #1306 which works for values, but if the value is a vector then it defaults to the first overload it finds again.
I think a version of bug https://github.com/ThePhD/sol2/issues/155 has come back: I have a bunch of overloaded functions that look like this and this works: ``` lua.set_function("LinksGetLinks", sol::overload( ... [this](std::vector links,...
Hello! How do I put new values onto the lua stack from c++? I have a game engine with a sol3 lua user type interface and I want my user...
I have written the following test code to check if a "free" lua variable can benefit from sol::property : float k = 1.0f; float Getk() { return 2.0f * k;...
I am trying to bind the tree-sitter library to Lua. I have already used sol2 to bind ImGui, ImNodes, some GLFW and custom functions of my own. These work nicely....
StackOverflow post: https://stackoverflow.com/questions/72081958/why-does-luajits-jit-module-appear-as-a-string-when-loaded-through-require Hi. I noticed something strange. I compiled a program using Sol3 (cloned from this repo on the day of posting) and LuaJIT (2.1.0-beta3, pulled from Arch repositories)....