pike.git
/
src
/
global.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/global.h:493:
#if SIZEOF_FLOAT_TYPE - 0 == 0 #error Unsupported type chosen for pike floats. #endif /* Conceptually a char is a 32 bit signed value. Implementationwise * that means that the shorter ones don't have space for the sign bit. */ typedef unsigned char p_wchar0; typedef unsigned INT16 p_wchar1; typedef signed INT32 p_wchar2;
+
enum size_shift {
+
eightbit=0,
+
sixteenbit=1,
+
thirtytwobit=2,
+
};
+
typedef struct p_wchar_p { void *ptr;
-
int
shift;
+
enum
size_
shift
shift
;
} PCHARP; #define WERR(...) fprintf(stderr,__VA_ARGS__) #ifdef PIKE_DEBUG #define DO_IF_DEBUG(X) X #define DO_IF_DEBUG_ELSE(DEBUG, NO_DEBUG) DEBUG #define DWERR(...) WERR(__VA_ARGS__)