#include <sol.hpp>
|
lua_State * | L |
|
const char * | key |
|
§ is_destructible
§ undefined_metatable()
§ operator()()
18345 if (luaL_newmetatable(
L,
key) == 1) {
18349 usertype_detail::insert_default_registrations<P>(l, index, fx);
18350 usertype_detail::make_destructor<T>(l, index);
18351 luaL_setfuncs(
L, l, 0);
18354 lua_createtable(
L, 0, 2);
18356 lua_pushlstring(
L, name.c_str(), name.size());
18357 lua_setfield(
L, -2,
"name");
18358 lua_CFunction is_func = &usertype_detail::is_check<T>;
18359 lua_pushcclosure(
L, is_func, 0);
18360 lua_setfield(
L, -2,
"is");
18363 lua_setmetatable(
L, -2);
const std::string & to_string(call_status c)
Definition: sol.hpp:5190
meta_function
Definition: sol.hpp:5277
§ key
The documentation for this struct was generated from the following file: