Re: Getting metatable's name.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Getting metatable's name.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2021年2月27日 20:51:49 -0300
> So, now, from Lua's side, how to retrieve metatable's name ???? (in my case, "SelTimedWindowCollection")
If the metatable was created with luaL_newmetatable in Lua 5.3+, then
use luaL_getmetafield(L, arg, "__name").