From b4cd38ba6c148cf7db5deae6208b660c3417cac9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Apr 2004 17:13:38 -0300 Subject: new scheme for configuration through `luaconf.h' --- lstrlib.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'lstrlib.c') diff --git a/lstrlib.c b/lstrlib.c index 5a3c8ea4..815b530c 100644 --- a/lstrlib.c +++ b/lstrlib.c @@ -1,5 +1,5 @@ /* -** $Id: lstrlib.c,v 1.100 2003/10/07 20:13:41 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.101 2004/01/02 11:54:14 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ @@ -12,6 +12,7 @@ #include #define lstrlib_c +#define LUA_LIB #include "lua.h" @@ -20,9 +21,7 @@ /* macro to `unsign' a character */ -#ifndef uchar #define uchar(c) ((unsigned char)(c)) -#endif typedef lua_Integer sint32; /* a signed version for size_t */ @@ -156,10 +155,6 @@ static int str_dump (lua_State *L) { ** ======================================================= */ -#ifndef MAX_CAPTURES -#define MAX_CAPTURES 32 /* arbitrary limit */ -#endif - #define CAP_UNFINISHED (-1) #define CAP_POSITION (-2) -- cgit v1.2.3-55-g6feb