Add string and char support
This commit is contained in:
parent
f061fb3179
commit
1f56983cb2
4 changed files with 87 additions and 11 deletions
|
|
@ -23,6 +23,12 @@ extern "C" {
|
|||
#define BOOL true
|
||||
#define MATHEXPR (1 + 2/3*20 - 100)
|
||||
#define ANDEXPR (100 & 11000)
|
||||
#define CASTEXPR (char) 34
|
||||
|
||||
#define NULLCHAR '\0'
|
||||
#define OCTCHAR '\012'
|
||||
#define HEXCHAR '\xFE'
|
||||
#define TRICKYSTR "\x4E\034\nfoo\0\'\"\r\v\a\b\e\f\t\\\?bar"
|
||||
|
||||
#define ALLSHL (SHL1 | SHL2 | SHL3)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue