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:
For example, I have usertype like that: ``` cpp sol::usertype transform_type { "localToParent", sol::property(&Transform::localToParent), "localToWorld", sol::property(&Transform::localToWorld), "worldToLocal", sol::property(&Transform::worldToLocal), "object", sol::property(&Transform::object), "position", sol::property(&Transform::position, &Transform::setPosition), "facing", sol::writeonly_property([](Transform& tr, const glm::vec3& point){ tr.makeFacing(point);...
I'm pretty happy with Sphinx + Doxygen, and will probably move to do that over any other setup. I just need to pump it into sol2 now, which means it's...
For my local system/usage, versions are: * **sol version:** https://github.com/AshitaXI/sol2/commit/d4b13ff864c94b0154ec89b2b7332152babbaac4 * **Lua version:** MoonJit https://github.com/AshitaXI/moonjit/commit/094d971c0a9f76025e2c61fab65969aea7fdb753 * **Compiler:** VS2019 16.10.0 (Using C++20 /std:c++latest) For the godbolt example, it is using: *...
Container detection for usertypes seems to work only when passing the container directly to sol, rather than a smart pointer to it. Wouldn't it be nice if sol could look...
We are trying to introduce sol2 to a large codebase that would rely on a massive list of usertypes. However build times, compiler heap use and resulting binary sizes are...
There's a number of scenarios where sol2 is making garbage that it seems not to be destroying, as evidenced by a few issues filed recently about leaks (particularly, on *Nix...
Right now, `sol_lua_check` and `sol::stack::check` work by using a handler-based approach that invokes some sort of error handling operation, which is expected to jump or throw or terminate. These are...
Hi, in some .hpp files forgot add noexcept in move constructors for struct/class Thank's for your work!
Hi, Basically I would like to be able to use the right overload when it exists but if there is no overload then that it default to classic cast of...
I'm trying to create a basic wrapper around NanoVG, which is a C library. The main context type is `NVGcontext`, which is declared in the NanoVG header file, but defined...