several configuration options that do not change often moved out of
luaconf.h and into more internal files
This commit is contained in:
11
lstrlib.c
11
lstrlib.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lstrlib.c,v 1.144 2009/11/24 12:05:44 roberto Exp roberto $
|
||||
** $Id: lstrlib.c,v 1.145 2009/11/26 16:49:28 roberto Exp roberto $
|
||||
** Standard library for string operations and pattern-matching
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -20,6 +20,15 @@
|
||||
#include "lualib.h"
|
||||
|
||||
|
||||
/*
|
||||
** maximum number of captures that a pattern can do during
|
||||
** pattern-matching. This limit is arbitrary.
|
||||
*/
|
||||
#if !defined(LUA_MAXCAPTURES)
|
||||
#define LUA_MAXCAPTURES 32
|
||||
#endif
|
||||
|
||||
|
||||
/* macro to `unsign' a character */
|
||||
#define uchar(c) ((unsigned char)(c))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user