diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -1743,6 +1743,9 @@ static struct X { int x; } x; | |||
| 1743 | (void)s1; /* to avoid warnings */ | 1743 | (void)s1; /* to avoid warnings */ |
| 1744 | lua_longassert((s == NULL && s1 == NULL) || strcmp(s, s1) == 0); | 1744 | lua_longassert((s == NULL && s1 == NULL) || strcmp(s, s1) == 0); |
| 1745 | } | 1745 | } |
| 1746 | else if EQ("Ltolstring") { | ||
| 1747 | luaL_tolstring(L1, getindex, NULL); | ||
| 1748 | } | ||
| 1746 | else if EQ("type") { | 1749 | else if EQ("type") { |
| 1747 | lua_pushstring(L1, luaL_typename(L1, getnum)); | 1750 | lua_pushstring(L1, luaL_typename(L1, getnum)); |
| 1748 | } | 1751 | } |
