summaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-30 10:38:50 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-10-30 10:38:50 -0200
commitf379d06e24f22cb4d0afa3937c27ef35b73b00a6 (patch)
treee87e3def52e622040ec2724433e21daee8322ee3 /lauxlib.c
parent728ff2070135b54c544b90020be268f53bf2d15a (diff)
downloadlua-github-f379d06e24f22cb4d0afa3937c27ef35b73b00a6.tar.gz
all API functions are declared in a single line (to facilitate pre-processing).
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 97e8c896..a817f613 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lauxlib.c,v 1.40 2000/10/20 16:39:03 roberto Exp roberto $
+** $Id: lauxlib.c,v 1.41 2000/10/27 16:15:53 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -75,8 +75,7 @@ LUALIB_API const char *luaL_check_lstr (lua_State *L, int narg, size_t *len) {
}
-LUALIB_API const char *luaL_opt_lstr (lua_State *L, int narg, const char *def,
- size_t *len) {
+LUALIB_API const char *luaL_opt_lstr (lua_State *L, int narg, const char *def, size_t *len) {
if (lua_isnull(L, narg)) {
if (len)
*len = (def ? strlen(def) : 0);