diff options
| author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-08-24 12:29:02 -0300 |
|---|---|---|
| committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-08-24 12:29:02 -0300 |
| commit | 0c6b906c8c8af02234f291f8bd602001bb191143 (patch) | |
| tree | 6ab8b8b26d2628d2b750b645f01d558d203c0180 /lua.h | |
| parent | 9294a2787f99174473afefcc0fcaf4f865959c63 (diff) | |
| download | lua-0c6b906c8c8af02234f291f8bd602001bb191143.tar.gz lua-0c6b906c8c8af02234f291f8bd602001bb191143.tar.bz2 lua-0c6b906c8c8af02234f291f8bd602001bb191143.zip | |
Compatibilizacao com C++.
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 |
