pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2015-10-19
2015-10-19 15:17:54 by Per Hedbor <ph@opera.com>
2b73adb38f753dce27be2e92ae7ec1d918d243f8 (
21
lines) (+
11
/-
10
)
[
Show
|
Annotate
]
Branch:
8.1
Modern GCC:s are more picky about macro argument expansion (space required)
368:
#define tRef tOr(tString,tComplex) #define tIfnot(X,Y) tAnd(tNot(X),Y) #define tAny tOr(tVoid,tMix)
-
#define tAttr(X,Y) "\356\0"X"\0"Y
-
#define tName(X,Y) "\361\0"X"\0"Y
+
#define tAttr(X,Y) "\356\0"
X
"\0"
Y
+
#define tName(X,Y) "\361\0"
X
"\0"
Y
#if PIKE_BYTEORDER == 1234 /* Little endian */
-
#define tAttr1(X,Y) "\356\5"X"\0\0"Y
-
#define tAttr2(X,Y) "\356\6"X"\0\0\0\0"Y
-
#define tName1(X,Y) "\361\5"X"\0\0"Y
-
#define tName2(X,Y) "\361\6"X"\0\0\0\0"Y
+
#define tAttr1(X,Y) "\356\5"
X
"\0\0"
Y
+
#define tAttr2(X,Y) "\356\6"
X
"\0\0\0\0"
Y
+
#define tName1(X,Y) "\361\5"
X
"\0\0"
Y
+
#define tName2(X,Y) "\361\6"
X
"\0\0\0\0"
Y
#else /* PIKE_BYTEORDER != 1234 */ /* Big endian */
-
#define tAttr1(X,Y) "\356\1"X"\0\0"Y
-
#define tAttr2(X,Y) "\356\2"X"\0\0\0\0"Y
-
#define tName1(X,Y) "\361\1"X"\0\0"Y
-
#define tName2(X,Y) "\361\2"X"\0\0\0\0"Y
+
#define tAttr1(X,Y) "\356\1"
X
"\0\0"
Y
+
#define tAttr2(X,Y) "\356\2"
X
"\0\0\0\0"
Y
+
#define tName1(X,Y) "\361\1"
X
"\0\0"
Y
+
#define tName2(X,Y) "\361\2"
X
"\0\0\0\0"
Y
#endif /* PIKE_BYTEORDER == 1234 */ /* Some convenience macros for common attributes. */