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-ee5edb6b680589805c8fc348f6a7566c2bd8735d.tar.gz lua-ee5edb6b680589805c8fc348f6a7566c2bd8735d.tar.bz2 lua-ee5edb6b680589805c8fc348f6a7566c2bd8735d.zip |
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 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.41 2014/11/02 19:19:04 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 2.42 2015/09/08 15:41:05 roberto Exp roberto $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -98,7 +98,7 @@ static TString *LoadString (LoadState *S) { | |||
98 | } | 98 | } |
99 | else { /* long string */ | 99 | else { /* long string */ |
100 | TString *ts = luaS_createlngstrobj(S->L, size); | 100 | TString *ts = luaS_createlngstrobj(S->L, size); |
101 | LoadVector(S, getaddrstr(ts), size); /* load directly in final place */ | 101 | LoadVector(S, getstr(ts), size); /* load directly in final place */ |
102 | return ts; | 102 | return ts; |
103 | } | 103 | } |
104 | } | 104 | } |