libraries may want to use `lua_assert' too...
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: llimits.h,v 1.57 2003/12/01 16:33:30 roberto Exp roberto $
|
||||
** $Id: llimits.h,v 1.58 2004/04/30 20:13:38 roberto Exp roberto $
|
||||
** Limits, basic types, and some other `installation-dependent' definitions
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -63,11 +63,6 @@ typedef LUSER_ALIGNMENT_T L_Umaxalign;
|
||||
typedef LUA_UACNUMBER l_uacNumber;
|
||||
|
||||
|
||||
#ifndef lua_assert
|
||||
#define lua_assert(c) /* empty */
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef check_exp
|
||||
#define check_exp(c,e) (e)
|
||||
#endif
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: luaconf.h,v 1.5 2004/06/02 13:24:43 roberto Exp roberto $
|
||||
** $Id: luaconf.h,v 1.6 2004/06/02 19:07:55 roberto Exp roberto $
|
||||
** Configuration file for Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -55,6 +55,9 @@
|
||||
/* first index for arrays */
|
||||
#define LUA_FIRSTINDEX 1
|
||||
|
||||
/* assertions in Lua (mainly for internal debugging) */
|
||||
#define lua_assert(c) /* empty */
|
||||
|
||||
/* }====================================================== */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user