summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-26 09:45:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-01-26 09:45:51 -0200
commitbce6572579a7e6c7a96895d9280396b3b33b8f3f (patch)
treea937d0366ae9d9e37e6320b347ec463f337ceb1b /lua.h
parenta53d9b66ca6247818acaf41e28cdf123082a272b (diff)
downloadlua-bce6572579a7e6c7a96895d9280396b3b33b8f3f.tar.gz
lua-bce6572579a7e6c7a96895d9280396b3b33b8f3f.tar.bz2
lua-bce6572579a7e6c7a96895d9280396b3b33b8f3f.zip
new macros + new names to facilitate compilation of threaded version
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/lua.h b/lua.h
index c6193483..e706eaa9 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.83 2001/01/22 18:01:38 roberto Exp roberto $ 2** $Id: lua.h,v 1.84 2001/01/25 16:45:36 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -16,11 +16,6 @@
16#include <stddef.h> 16#include <stddef.h>
17 17
18 18
19/* mark for all API functions */
20#ifndef LUA_API
21#define LUA_API extern
22#endif
23
24 19
25#define LUA_VERSION "Lua 4.1 (work)" 20#define LUA_VERSION "Lua 4.1 (work)"
26#define LUA_COPYRIGHT "Copyright (C) 1994-2000 TeCGraf, PUC-Rio" 21#define LUA_COPYRIGHT "Copyright (C) 1994-2000 TeCGraf, PUC-Rio"
@@ -77,6 +72,21 @@ typedef int (*lua_CFunction) (lua_State *L);
77#define LUA_TFUNCTION 5 72#define LUA_TFUNCTION 5
78 73
79 74
75/*
76** generic extra include file
77*/
78#ifdef LUA_USER_H
79#include LUA_USER_H
80#endif
81
82
83
84/* mark for all API functions */
85#ifndef LUA_API
86#define LUA_API extern
87#endif
88
89
80 90
81/* 91/*
82** state manipulation 92** state manipulation