diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-09-17 12:51:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-09-17 12:51:05 -0300 |
commit | ee5edb6b680589805c8fc348f6a7566c2bd8735d (patch) | |
tree | ca0d801e40a0dcf98c4594bdaf97933193bfea71 /lundump.c | |
parent | bda83e22c0ab3e6fffbf0a71e5e4a5869da8f6ab (diff) | |
download | lua-github-ee5edb6b680589805c8fc348f6a7566c2bd8735d.tar.gz |
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lundump.c,v 2.41 2014/11/02 19:19:04 roberto Exp roberto $ +** $Id: lundump.c,v 2.42 2015/09/08 15:41:05 roberto Exp roberto $ ** load precompiled Lua chunks ** See Copyright Notice in lua.h */ @@ -98,7 +98,7 @@ static TString *LoadString (LoadState *S) { } else { /* long string */ TString *ts = luaS_createlngstrobj(S->L, size); - LoadVector(S, getaddrstr(ts), size); /* load directly in final place */ + LoadVector(S, getstr(ts), size); /* load directly in final place */ return ts; } } |