Add comment;

This commit is contained in:
bjorn 2020-12-03 09:03:43 -07:00
parent eb319fdade
commit d33053cd01
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
typedef void voidFn(void);
typedef void destructorFn(void*);
// Object names are lightuserdata because Variants need a non-Lua string due to threads.
static int luax_meta__tostring(lua_State* L) {
lua_getfield(L, -1, "__name");
lua_pushstring(L, (const char*) lua_touserdata(L, -1));