configurable macros should live in llimits.h
This commit is contained in:
17
llimits.h
17
llimits.h
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: llimits.h,v 1.39 2002/03/07 18:11:51 roberto Exp roberto $
|
** $Id: llimits.h,v 1.40 2002/03/14 18:01:52 roberto Exp roberto $
|
||||||
** Limits, basic types, and some other `installation-dependent' definitions
|
** Limits, basic types, and some other `installation-dependent' definitions
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -78,6 +78,21 @@ typedef unsigned char lu_byte;
|
|||||||
union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; };
|
union L_Umaxalign { LUSER_ALIGNMENT_T u; void *s; long l; };
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef lua_assert
|
||||||
|
#define lua_assert(c) /* empty */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef UNUSED
|
||||||
|
#define UNUSED(x) ((void)(x)) /* to avoid warnings */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef cast
|
||||||
|
#define cast(t, exp) ((t)(exp))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** type for virtual-machine instructions
|
** type for virtual-machine instructions
|
||||||
|
|||||||
17
lobject.h
17
lobject.h
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: lobject.h,v 1.125 2002/03/05 12:42:47 roberto Exp roberto $
|
** $Id: lobject.h,v 1.126 2002/03/11 12:45:00 roberto Exp roberto $
|
||||||
** Type definitions for Lua objects
|
** Type definitions for Lua objects
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -12,21 +12,6 @@
|
|||||||
#include "lua.h"
|
#include "lua.h"
|
||||||
|
|
||||||
|
|
||||||
#ifndef lua_assert
|
|
||||||
#define lua_assert(c) /* empty */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef UNUSED
|
|
||||||
#define UNUSED(x) ((void)(x)) /* to avoid warnings */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef cast
|
|
||||||
#define cast(t, exp) ((t)(exp))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* tags for values visible from Lua */
|
/* tags for values visible from Lua */
|
||||||
#define NUM_TAGS 6
|
#define NUM_TAGS 6
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user