diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Handle.h | 10 | ||||
-rw-r--r-- | includes/Printer.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index 941748e..29cdb08 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -72,7 +72,15 @@ class Handle { Future<int16_t> readI16(); Future<int32_t> readI32(); Future<int64_t> readI64(); - Future<void> writeU8 (uint8_t); + Future<uint8_t> readBEU8(); + Future<uint16_t> readBEU16(); + Future<uint32_t> readBEU32(); + Future<uint64_t> readBEU64(); + Future<int8_t> readBEI8(); + Future<int16_t> readBEI16(); + Future<int32_t> readBEI32(); + Future<int64_t> readBEI64(); + Future<void> writeU8(uint8_t); Future<void> writeU16(uint16_t); Future<void> writeU32(uint32_t); Future<void> writeU64(uint64_t); diff --git a/includes/Printer.h b/includes/Printer.h index d0eeab7..2717a84 100644 --- a/includes/Printer.h +++ b/includes/Printer.h @@ -65,7 +65,7 @@ class Printer { static void print(const char * fmt, ...) printfwarning(1, 2) { va_list ap; va_start(ap, fmt); vprint(fmt, ap); va_end(ap); } static void vprint(const char * fmt, va_list ap) printfwarning(1, 0) { getPrinter()->_print(fmt, ap); } -#ifdef DEBUG +#ifdef FULLDEBUG static void elog(uint32_t engine, const char * fmt, ...) printfwarning(2, 3) { va_list ap; va_start(ap, fmt); getPrinter()->_log(M_ENGINE_DEBUG, fmt, ap); } #else static void elog(uint32_t engine, const char * fmt, ...) { } |