diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-02 17:02:40 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-02 17:02:40 -0200 |
commit | 7e3d3e1f70b75f0d5d8b5e3b240404a9f9adbcf1 (patch) | |
tree | 451d2bd1999ab7a333220568eb85950b4b04b893 /lauxlib.c | |
parent | 1f9e3731d17df79461a0dc57cc9bd159c70ac56f (diff) | |
download | lua-7e3d3e1f70b75f0d5d8b5e3b240404a9f9adbcf1.tar.gz lua-7e3d3e1f70b75f0d5d8b5e3b240404a9f9adbcf1.tar.bz2 lua-7e3d3e1f70b75f0d5d8b5e3b240404a9f9adbcf1.zip |
details
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.c,v 1.44 2000/12/04 18:33:40 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.45 2001/01/25 16:45:36 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -110,7 +110,7 @@ LUALIB_API lua_Number luaL_opt_number (lua_State *L, int narg, lua_Number def) { | |||
110 | } | 110 | } |
111 | 111 | ||
112 | 112 | ||
113 | LUALIB_API void luaL_openlib (lua_State *L, const struct luaL_reg *l, int n) { | 113 | LUALIB_API void luaL_openlib (lua_State *L, const luaL_reg *l, int n) { |
114 | int i; | 114 | int i; |
115 | for (i=0; i<n; i++) | 115 | for (i=0; i<n; i++) |
116 | lua_register(L, l[i].name, l[i].func); | 116 | lua_register(L, l[i].name, l[i].func); |