diff options
author | Mike Pall <mike> | 2011-02-02 02:38:59 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-02-02 02:38:59 +0100 |
commit | 2c8945d3e734bb42faa60ef0b97a6115a2b099f7 (patch) | |
tree | e60c74f1aedd55b133b9194746b9c9952dc47a30 /src/lib_table.c | |
parent | 1505d6ffde5e91716ebdd6eeb14860eeedf2bf30 (diff) | |
download | luajit-2c8945d3e734bb42faa60ef0b97a6115a2b099f7.tar.gz luajit-2c8945d3e734bb42faa60ef0b97a6115a2b099f7.tar.bz2 luajit-2c8945d3e734bb42faa60ef0b97a6115a2b099f7.zip |
Use names defined in lualib.h for library registration.
Diffstat (limited to 'src/lib_table.c')
-rw-r--r-- | src/lib_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_table.c b/src/lib_table.c index 66947a45..8ae54167 100644 --- a/src/lib_table.c +++ b/src/lib_table.c | |||
@@ -270,7 +270,7 @@ LJLIB_CF(table_sort) | |||
270 | 270 | ||
271 | LUALIB_API int luaopen_table(lua_State *L) | 271 | LUALIB_API int luaopen_table(lua_State *L) |
272 | { | 272 | { |
273 | LJ_LIB_REG(L, table); | 273 | LJ_LIB_REG(L, LUA_TABLIBNAME, table); |
274 | return 1; | 274 | return 1; |
275 | } | 275 | } |
276 | 276 | ||