diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-30 10:38:50 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-30 10:38:50 -0200 |
commit | f379d06e24f22cb4d0afa3937c27ef35b73b00a6 (patch) | |
tree | e87e3def52e622040ec2724433e21daee8322ee3 /lauxlib.h | |
parent | 728ff2070135b54c544b90020be268f53bf2d15a (diff) | |
download | lua-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.tar.gz lua-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.tar.bz2 lua-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.zip |
all API functions are declared in a single line (to facilitate pre-processing).
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.28 2000/10/20 16:39:03 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.29 2000/10/27 16:15:53 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 | */ |
@@ -29,8 +29,7 @@ struct luaL_reg { | |||
29 | LUALIB_API void luaL_openlib (lua_State *L, const struct luaL_reg *l, int n); | 29 | LUALIB_API void luaL_openlib (lua_State *L, const struct luaL_reg *l, int n); |
30 | LUALIB_API void luaL_argerror (lua_State *L, int numarg, const char *extramsg); | 30 | LUALIB_API void luaL_argerror (lua_State *L, int numarg, const char *extramsg); |
31 | LUALIB_API const char *luaL_check_lstr (lua_State *L, int numArg, size_t *len); | 31 | LUALIB_API const char *luaL_check_lstr (lua_State *L, int numArg, size_t *len); |
32 | LUALIB_API const char *luaL_opt_lstr (lua_State *L, int numArg, const char *def, | 32 | LUALIB_API const char *luaL_opt_lstr (lua_State *L, int numArg, const char *def, size_t *len); |
33 | size_t *len); | ||
34 | LUALIB_API double luaL_check_number (lua_State *L, int numArg); | 33 | LUALIB_API double luaL_check_number (lua_State *L, int numArg); |
35 | LUALIB_API double luaL_opt_number (lua_State *L, int numArg, double def); | 34 | LUALIB_API double luaL_opt_number (lua_State *L, int numArg, double def); |
36 | 35 | ||