new macros + new names to facilitate compilation of threaded version
This commit is contained in:
22
lua.h
22
lua.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lua.h,v 1.83 2001/01/22 18:01:38 roberto Exp roberto $
|
||||
** $Id: lua.h,v 1.84 2001/01/25 16:45:36 roberto Exp roberto $
|
||||
** Lua - An Extensible Extension Language
|
||||
** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
|
||||
** e-mail: lua@tecgraf.puc-rio.br
|
||||
@@ -16,11 +16,6 @@
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
/* mark for all API functions */
|
||||
#ifndef LUA_API
|
||||
#define LUA_API extern
|
||||
#endif
|
||||
|
||||
|
||||
#define LUA_VERSION "Lua 4.1 (work)"
|
||||
#define LUA_COPYRIGHT "Copyright (C) 1994-2000 TeCGraf, PUC-Rio"
|
||||
@@ -77,6 +72,21 @@ typedef int (*lua_CFunction) (lua_State *L);
|
||||
#define LUA_TFUNCTION 5
|
||||
|
||||
|
||||
/*
|
||||
** generic extra include file
|
||||
*/
|
||||
#ifdef LUA_USER_H
|
||||
#include LUA_USER_H
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* mark for all API functions */
|
||||
#ifndef LUA_API
|
||||
#define LUA_API extern
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
** state manipulation
|
||||
|
||||
Reference in New Issue
Block a user