Remove the user data from the Lua function definition

This commit is contained in:
Alexander Bock
2021-11-04 16:27:54 +01:00
parent e3e468d5ef
commit 55ee3d2785
31 changed files with 33 additions and 239 deletions

View File

@@ -47,8 +47,6 @@ struct LuaLibrary {
std::string name;
/// The function pointer that is executed if the function is called
lua_CFunction function;
/// A vector of light userdata to be passed into the function
std::vector<void*> userdata;
/// A text describing the arguments to this function
std::string argumentText;
/// A help text describing what the function does/