diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-22 14:15:18 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-22 14:15:18 -0300 |
commit | 52ee91dd73199e068d31d3ac138d933ddd4fb9b1 (patch) | |
tree | 9f9f1fdc16c8a3464fef14b9946482df688c2ea8 /lualib.h | |
parent | 191fd35f0a6cd47ea03417a663395acf5d0e9bf5 (diff) | |
download | lua-52ee91dd73199e068d31d3ac138d933ddd4fb9b1.tar.gz lua-52ee91dd73199e068d31d3ac138d933ddd4fb9b1.tar.bz2 lua-52ee91dd73199e068d31d3ac138d933ddd4fb9b1.zip |
better encapsulation of some types
Diffstat (limited to 'lualib.h')
-rw-r--r-- | lualib.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lualib.h,v 1.14 2000/10/27 16:15:53 roberto Exp roberto $ | 2 | ** $Id: lualib.h,v 1.15 2000/11/23 13:49:35 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 | */ |
@@ -25,4 +25,15 @@ LUALIB_API void lua_mathlibopen (lua_State *L); | |||
25 | LUALIB_API void lua_dblibopen (lua_State *L); | 25 | LUALIB_API void lua_dblibopen (lua_State *L); |
26 | 26 | ||
27 | 27 | ||
28 | |||
29 | /* | ||
30 | ** `private' part | ||
31 | */ | ||
32 | |||
33 | /* macro to `unsign' a character */ | ||
34 | #define uchar(c) ((unsigned char)(c)) | ||
35 | |||
36 | /* integer type to hold the result of fgetc */ | ||
37 | typedef int l_charint; | ||
38 | |||
28 | #endif | 39 | #endif |