From 52ee91dd73199e068d31d3ac138d933ddd4fb9b1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 22 Feb 2001 14:15:18 -0300 Subject: better encapsulation of some types --- lualib.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lualib.h') diff --git a/lualib.h b/lualib.h index 9dfcee5a..aea9ee08 100644 --- a/lualib.h +++ b/lualib.h @@ -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 -- cgit v1.2.3-55-g6feb