diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-26 09:45:51 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-26 09:45:51 -0200 |
commit | bce6572579a7e6c7a96895d9280396b3b33b8f3f (patch) | |
tree | a937d0366ae9d9e37e6320b347ec463f337ceb1b /lua.h | |
parent | a53d9b66ca6247818acaf41e28cdf123082a272b (diff) | |
download | lua-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.h | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -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 |