diff options
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -2,13 +2,18 @@ | |||
2 | ** LUA - Linguagem para Usuarios de Aplicacao | 2 | ** LUA - Linguagem para Usuarios de Aplicacao |
3 | ** Grupo de Tecnologia em Computacao Grafica | 3 | ** Grupo de Tecnologia em Computacao Grafica |
4 | ** TeCGraf - PUC-Rio | 4 | ** TeCGraf - PUC-Rio |
5 | ** $Id: lua.h,v 1.2 1994/08/03 14:15:46 celes Exp celes $ | 5 | ** $Id: lua.h,v 1.3 1994/08/17 15:05:08 celes Exp celes $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | 8 | ||
9 | #ifndef lua_h | 9 | #ifndef lua_h |
10 | #define lua_h | 10 | #define lua_h |
11 | 11 | ||
12 | #ifdef __cplusplus | ||
13 | extern "C" | ||
14 | { | ||
15 | #endif | ||
16 | |||
12 | typedef void (*lua_CFunction) (void); | 17 | typedef void (*lua_CFunction) (void); |
13 | typedef struct Object *lua_Object; | 18 | typedef struct Object *lua_Object; |
14 | 19 | ||
@@ -56,4 +61,8 @@ int lua_isfunction (lua_Object object); | |||
56 | int lua_iscfunction (lua_Object object); | 61 | int lua_iscfunction (lua_Object object); |
57 | int lua_isuserdata (lua_Object object); | 62 | int lua_isuserdata (lua_Object object); |
58 | 63 | ||
64 | #ifdef __cplusplus | ||
65 | } | ||
66 | #endif | ||
67 | |||
59 | #endif | 68 | #endif |