aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-12 16:13:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-12 16:13:50 -0300
commit1fb4d539254b67e7e35ed698250c66d1edff0e08 (patch)
tree8f48b7ca736a7fb02834bcfac1415cd43307f529 /lobject.h
parentf6aab3ec1f111cd8d968bdcb7ca800e93b819d24 (diff)
downloadlua-1fb4d539254b67e7e35ed698250c66d1edff0e08.tar.gz
lua-1fb4d539254b67e7e35ed698250c66d1edff0e08.tar.bz2
lua-1fb4d539254b67e7e35ed698250c66d1edff0e08.zip
OP_NEWTABLE keeps exact size of arrays
OP_NEWTABLE is followed by an OP_EXTRAARG, so that it can keep the exact size of the array part of the table to be created. (Functions 'luaO_int2fb'/'luaO_fb2int' were removed.)
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 2f95bcb5..95f8e188 100644
--- a/lobject.h
+++ b/lobject.h
@@ -734,8 +734,6 @@ typedef struct Table {
734/* size of buffer for 'luaO_utf8esc' function */ 734/* size of buffer for 'luaO_utf8esc' function */
735#define UTF8BUFFSZ 8 735#define UTF8BUFFSZ 8
736 736
737LUAI_FUNC int luaO_int2fb (unsigned int x);
738LUAI_FUNC int luaO_fb2int (int x);
739LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); 737LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x);
740LUAI_FUNC int luaO_ceillog2 (unsigned int x); 738LUAI_FUNC int luaO_ceillog2 (unsigned int x);
741LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, 739LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1,