1 #ifndef __LIBPASORI_LIBLOCAL_H 2 #define __LIBPASORI_LIBLOCAL_H 3 4 #include <stdio.h> 5 #include "libpasori_config.h" 6 #include "libpasori.h" 7 8 #ifdef DEBUG 9 #define Log printf 10 #else 11 #define Log 1 ? (void) 0 : printf 12 #endif 13 14 #define L8(x) (x & 0xff) 15 #define H8(x) ((x >> 8) & 0xff) 16 17 #endif 18