From 4ff55457095728b95cc5dcdbab0bca7255bd5387 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 10 Jan 2001 14:58:11 -0200 Subject: new macro pushliteral --- ldblib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 4704017c..6898a3f9 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.30 2000/11/14 18:46:20 roberto Exp $ +** $Id: ldblib.c,v 1.30 2000/11/23 13:47:39 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -71,7 +71,7 @@ static int getinfo (lua_State *L) { settabss(L, "namewhat", ar.namewhat); break; case 'f': - lua_pushstring(L, "func"); + lua_pushliteral(L, "func"); lua_pushvalue(L, -3); lua_settable(L, -3); break; -- cgit v1.2.3-55-g6feb