74 #define __small_endian 77 #define __attribute__(x) 87 #define THREAD_PROC __stdcall 90 #define THREAD_PROC __stdcall 91 #elif defined (__GNUC__) 94 #elif defined (__ICCARM__) 103 #define RESULT_FAIL_BIT 0x80000000 104 #define RESULT_ALREADY_DONE 0x20 105 #define RESULT_INVALID_DATA (0x8000 | RESULT_FAIL_BIT) 106 #define RESULT_OPERATION_FAIL (0x8001 | RESULT_FAIL_BIT) 107 #define RESULT_OPERATION_TIMEOUT (0x8002 | RESULT_FAIL_BIT) 108 #define RESULT_OPERATION_STOP (0x8003 | RESULT_FAIL_BIT) 109 #define RESULT_OPERATION_NOT_SUPPORT (0x8004 | RESULT_FAIL_BIT) 110 #define RESULT_FORMAT_NOT_SUPPORT (0x8005 | RESULT_FAIL_BIT) 111 #define RESULT_INSUFFICIENT_MEMORY (0x8006 | RESULT_FAIL_BIT) 113 #define IS_OK(x) ( ((x) & RESULT_FAIL_BIT) == 0 ) 114 #define IS_FAIL(x) ( ((x) & RESULT_FAIL_BIT) ) 116 typedef _word_size_t (THREAD_PROC * thread_proc_t ) (
void * );
unsigned __int16 uint16_t
unsigned __int64 uint64_t
typedef _word_size_t(THREAD_PROC *thread_proc_t)(void *)
unsigned __int32 uint32_t