better encapsulation of some types

This commit is contained in:
Roberto Ierusalimschy
2001-02-22 14:15:18 -03:00
parent 191fd35f0a
commit 52ee91dd73
10 changed files with 83 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lualib.h,v 1.14 2000/10/27 16:15:53 roberto Exp roberto $
** $Id: lualib.h,v 1.15 2000/11/23 13:49:35 roberto Exp roberto $
** Lua standard libraries
** See Copyright Notice in lua.h
*/
@@ -25,4 +25,15 @@ LUALIB_API void lua_mathlibopen (lua_State *L);
LUALIB_API void lua_dblibopen (lua_State *L);
/*
** `private' part
*/
/* macro to `unsign' a character */
#define uchar(c) ((unsigned char)(c))
/* integer type to hold the result of fgetc */
typedef int l_charint;
#endif