luabind
Use LuaBind to call Lua functions inside a class when Lua is bound inside THAT class
Basically, I just want to be able to have a clean Lua instance made inside of my Manager class, then export the functions in the class to Lua, so that I can call functions on the already created C++ c[详细]
2023-04-05 10:05 分类:问答luabind 0.9.1 uses stl iterator only show one element
I got a strange problem while used luabind to return a stl::vector::iterator to lua script. Below is the code:[详细]
2023-04-04 22:59 分类:问答Odd Problem with luabind::object
I\'m currently using luabind, specifically https://github.com/rpavlik/luabind since the official release is outdated and doesn\'t compile with the latest version of boost anymore.[详细]
2023-03-31 19:33 分类:问答Problem with luabind installation under Windows [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post.[详细]
2023-03-28 16:53 分类:问答C++ class member function pointer to function pointer
I am using luabind as my lua to C++ wrapper. Luabind offers a method to use my own callback function to handle exceptions thrown by lua, set_pcall_callback(). So I paraphrased an example from the docu[详细]
2023-03-25 03:02 分类:问答C++ not catching lua exceptions
I have a C++ program that I have bound to Lua using luabind. I am currently testing the error handling methods that lua and luabind have to offer in order to help with debugging the lua scripts down t[详细]
2023-03-24 06:39 分类:问答Exposing an STL Queue to Lua via Luabind
I\'m attempting to replace an existing implementation of a queue class written in Lua with the STL Queue class. I\'m not sure why this is failing, or how to approach fixing it. Below is some sample co[详细]
2023-03-18 22:53 分类:问答Does this script result in many, many closures, and if yes, whats an alternative?
I want to implement a GUI message handling system in Lua, currently it works开发者_JS百科 like this:[详细]
2023-03-17 02:51 分类:问答Problems with overload function and luabind
I have a class that I want to bind to lua. The reduced code might be: class CSprite2D{ void setPosition(glm::ivec2 val) { m_position = val; }[详细]
2023-03-15 22:14 分类:问答Calling luabind derived member as a coroutine
The luabind documentation says to call a Lua-derived virtual member from C++, you create a wrapper class derived from luabind::wrap_base and call the function like so:[详细]
2023-03-14 15:41 分类:问答