diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-23 14:17:25 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-23 14:17:25 -0300 |
commit | 39b79783297bee79db9853b63d199e120a009a8f (patch) | |
tree | c738c621c4c28d8822c2f785400786301985273b /lualib.h | |
parent | d164e2294f73d8e69f00d95a66014514b2dd0ec0 (diff) | |
download | lua-39b79783297bee79db9853b63d199e120a009a8f.tar.gz lua-39b79783297bee79db9853b63d199e120a009a8f.tar.bz2 lua-39b79783297bee79db9853b63d199e120a009a8f.zip |
first (big) step to support wide chars
Diffstat (limited to 'lualib.h')
-rw-r--r-- | lualib.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lualib.h,v 1.15 2000/11/23 13:49:35 roberto Exp roberto $ | 2 | ** $Id: lualib.h,v 1.16 2001/02/22 17:15:18 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 | */ |
@@ -36,4 +36,14 @@ LUALIB_API void lua_dblibopen (lua_State *L); | |||
36 | /* integer type to hold the result of fgetc */ | 36 | /* integer type to hold the result of fgetc */ |
37 | typedef int l_charint; | 37 | typedef int l_charint; |
38 | 38 | ||
39 | /* macro to control type of literal strings */ | ||
40 | #ifndef l_s | ||
41 | #define l_s(x) x | ||
42 | #endif | ||
43 | |||
44 | /* macro to control type of literal chars */ | ||
45 | #ifndef l_c | ||
46 | #define l_c(x) x | ||
47 | #endif | ||
48 | |||
39 | #endif | 49 | #endif |