WebMay 16, 2024 · License: MIT. Description: sol2 is a C++ library binding to Lua. It currently supports all Lua versions 5.1+ (LuaJIT 2.0+ and MoonJIT included). sol2 aims to be easy to use and easy to add to a project. The library is header-only for easy integration with projects, and a single header can be used for drag-and-drop start up. WebAug 4, 2024 · In sol2, you seem to only be able to use sol::object as first argument in usertype methods, and manually parse the type, and finally return self as sol::object which …
config and safety — sol 3.2.3 documentation - Read the Docs
Websol2. sol2 is a C++ library binding to Lua. It currently supports all Lua versions 5.1+ (LuaJIT 2.0+ and MoonJIT included). sol2 aims to be easy to use and easy to add to a project. The library is header-only for easy integration with projects, and a single header can be used for drag-and-drop start up. Sneak Peek Websol2. sol2 is a C++ library binding to Lua. It currently supports all Lua versions 5.1+ (LuaJIT 2.0+ and MoonJIT included). sol2 aims to be easy to use and easy to add to a project. The … phil fanning
stack namespace — sol 3.2.3 documentation - Read the Docs
WebDec 22, 2024 · You get sol2’s target by doing sol2::sol2, sol2::sol2_single after add_subdirectory(sol/single), or sol2::sol2_single_generated after … WebUser-Defined Type (sol::usertype in the API) support: Set member functions to be called; Set member variables; Set variables on a class that are based on setter/getter functions using … WebWhat @OrfeasZ said.. The following code works flawlessly. Unless you can provide me with your program that doesn't compile, compiler version / IDE you're using (Visual Studio, … phil fallows arnside