diff options
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 7539e92e..383955d4 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -257,7 +257,7 @@ LJLIB_ASM(tostring) LJLIB_REC(.) | |||
257 | if (tvisfunc(o) && isffunc(funcV(o))) | 257 | if (tvisfunc(o) && isffunc(funcV(o))) |
258 | lua_pushfstring(L, "function: fast#%d", funcV(o)->c.ffid); | 258 | lua_pushfstring(L, "function: fast#%d", funcV(o)->c.ffid); |
259 | else | 259 | else |
260 | lua_pushfstring(L, "%s: %p", typename(o), lua_topointer(L, 1)); | 260 | lua_pushfstring(L, "%s: %p", lj_typename(o), lua_topointer(L, 1)); |
261 | /* Note: lua_pushfstring calls the GC which may invalidate o. */ | 261 | /* Note: lua_pushfstring calls the GC which may invalidate o. */ |
262 | s = strV(L->top-1); | 262 | s = strV(L->top-1); |
263 | } | 263 | } |