pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2020-02-11
2020-02-11 12:19:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>
abce6b45a0f8d0f9960913bb912be09704a70625 (
12
lines) (+
8
/-
4
)
[
Show
|
Annotate
]
Branch:
master
Typesystem: Add tInt{7,8,16}bit.
Also adds some use of them.
292:
#define tStr "\006" #define tString "\006" #define tNStr(T) "\357" T
-
#define tStr0
"\357"
tZero
-
#define tStr7
"\357" "\010\000\000\000\000\000\000\000\177"
-
#define tStr8
"\357" "\010\000\000\000\000\000\000\000\377"
-
#define tStr16
"\357" "\010\000\000\000\000\000\000\377\377"
+
#define tStr0
tNStr(
tZero
)
+
#define tStr7
tNStr(tInt7bit)
+
#define tStr8
tNStr(tInt8bit)
+
#define tStr16
tNStr(tInt16bit)
#define tStr32 "\006" #define tLStr(LEN, VAL) "\355" LEN VAL #define tType(T) "\007" T
312:
#define tInt07 "\010\000\000\000\000\000\000\000\007" #define tInt08 "\010\000\000\000\000\000\000\000\010" #define tInt09 "\010\000\000\000\000\000\000\000\011"
+
#define tInt7bit "\010\000\000\000\000\000\000\000\177"
+
#define tInt8bit "\010\000\000\000\000\000\000\000\377"
+
#define tInt16bit "\010\000\000\000\000\000\000\377\377"
#define tIntPos "\010\000\000\000\000\177\377\377\377" #define tIntNeg "\010\200\000\000\000\000\000\000\000" #define tInt1Plus "\010\000\000\000\001\177\377\377\377"