From bce6572579a7e6c7a96895d9280396b3b33b8f3f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 26 Jan 2001 09:45:51 -0200 Subject: new macros + new names to facilitate compilation of threaded version --- lua.h | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index c6193483..e706eaa9 100644 --- a/lua.h +++ b/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 -/* 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 -- cgit v1.2.3-55-g6feb