diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-26 11:31:49 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-03-26 11:31:49 -0300 |
| commit | dd3a63c205a97339d8c8aec3cd49941bc10ba45c (patch) | |
| tree | 763c1701607ace52692c8566277c6c70c7895acd /lualib.h | |
| parent | cb49b088b61b75b905663a58a2c545de1ffea13a (diff) | |
| download | lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.gz lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.tar.bz2 lua-dd3a63c205a97339d8c8aec3cd49941bc10ba45c.zip | |
new way to handle `profiles'
Diffstat (limited to 'lualib.h')
| -rw-r--r-- | lualib.h | 27 |
1 files changed, 2 insertions, 25 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lualib.h,v 1.19 2001/02/23 20:31:37 roberto Exp roberto $ | 2 | ** $Id: lualib.h,v 1.20 2001/03/06 20:09:38 roberto Exp roberto $ |
| 3 | ** Lua standard libraries | 3 | ** Lua standard libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -16,7 +16,7 @@ | |||
| 16 | #endif | 16 | #endif |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | #define LUA_ALERT l_s("_ALERT") | 19 | #define LUA_ALERT "_ALERT" |
| 20 | 20 | ||
| 21 | LUALIB_API int lua_baselibopen (lua_State *L); | 21 | LUALIB_API int lua_baselibopen (lua_State *L); |
| 22 | LUALIB_API int lua_iolibopen (lua_State *L); | 22 | LUALIB_API int lua_iolibopen (lua_State *L); |
| @@ -25,27 +25,4 @@ LUALIB_API int lua_mathlibopen (lua_State *L); | |||
| 25 | LUALIB_API int lua_dblibopen (lua_State *L); | 25 | LUALIB_API int lua_dblibopen (lua_State *L); |
| 26 | 26 | ||
| 27 | 27 | ||
| 28 | |||
| 29 | /* | ||
| 30 | ** `private' part | ||
| 31 | */ | ||
| 32 | |||
| 33 | /* macro to `unsign' a character */ | ||
| 34 | #ifndef uchar | ||
| 35 | #define uchar(c) ((unsigned char)(c)) | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* integer type to hold the result of fgetc */ | ||
| 39 | typedef int l_charint; | ||
| 40 | |||
| 41 | /* macro to control type of literal strings */ | ||
| 42 | #ifndef l_s | ||
| 43 | #define l_s(x) x | ||
| 44 | #endif | ||
| 45 | |||
| 46 | /* macro to control type of literal chars */ | ||
| 47 | #ifndef l_c | ||
| 48 | #define l_c(x) x | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #endif | 28 | #endif |
