diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-06-27 08:35:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-06-27 08:35:01 -0300 |
commit | 60a7492d249860d20098ac2f0b9d863606c38450 (patch) | |
tree | 58daf57a1d71903475a47a7403742867205f308d | |
parent | 73ec04fcf3e3f7017786fbaf0a83291b22bec5c4 (diff) | |
download | lua-60a7492d249860d20098ac2f0b9d863606c38450.tar.gz lua-60a7492d249860d20098ac2f0b9d863606c38450.tar.bz2 lua-60a7492d249860d20098ac2f0b9d863606c38450.zip |
new type 'ls_byte' for signed bytes
-rw-r--r-- | llimits.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.142 2017/04/24 18:06:12 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.143 2017/06/01 19:16:34 roberto Exp roberto $ |
3 | ** Limits, basic types, and some other 'installation-dependent' definitions | 3 | ** Limits, basic types, and some other 'installation-dependent' definitions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -33,6 +33,7 @@ typedef long l_mem; | |||
33 | 33 | ||
34 | /* chars used as small naturals (so that 'char' is reserved for characters) */ | 34 | /* chars used as small naturals (so that 'char' is reserved for characters) */ |
35 | typedef unsigned char lu_byte; | 35 | typedef unsigned char lu_byte; |
36 | typedef signed char ls_byte; | ||
36 | 37 | ||
37 | 38 | ||
38 | /* maximum value for size_t */ | 39 | /* maximum value for size_t */ |