Software /
code /
prosody
Comparison
util-src/table.c @ 7835:a809dcfd0c5b
util-src/*.c: Squeeze repeated blank lines
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Jan 2017 18:33:35 +0100 |
parent | 7818:54669df178c2 |
child | 7889:b8d694646597 |
comparison
equal
deleted
inserted
replaced
7834:a2081d28bd22 | 7835:a809dcfd0c5b |
---|---|
17 lua_pushinteger(L, n_args); | 17 lua_pushinteger(L, n_args); |
18 lua_setfield(L, -2, "n"); | 18 lua_setfield(L, -2, "n"); |
19 return 1; | 19 return 1; |
20 } | 20 } |
21 | 21 |
22 | |
23 int luaopen_util_table(lua_State* L) { | 22 int luaopen_util_table(lua_State* L) { |
24 #if (LUA_VERSION_NUM > 501) | 23 #if (LUA_VERSION_NUM > 501) |
25 luaL_checkversion(L); | 24 luaL_checkversion(L); |
26 #endif | 25 #endif |
27 lua_newtable(L); | 26 lua_newtable(L); |