int8_t, int16_t, int32_t, int64_t
uint8_t, uint16_t, uint32_t, uint64_t
- float32_t, float64_t
Also, we define types such as file address lengths.
typedef char POOLMEM;
#define mp_chr(x) x
-#ifdef xxxxx
+#ifdef xxxxx
#define mp_chr(x) ((char*)(x))
-struct POOLMEM { };
+class POOLMEM {
+public:
+ POOLMEM();
+ operator char * const() { return this; }
+};
#endif
+
/* Types */
/* If sys/types.h does not supply intXX_t, supply them ourselves */
#define uintmax_t u_intmax_t
/* Bacula time -- Unix time with microseconds */
-#define btime_t uint64_t
+#define btime_t int64_t
/* Unix time (time_t) widened to 64 bits */
#define utime_t int64_t