71 #define __small_endian 74 #define __attribute__(x) 79 typedef _u8 _word_size_t;
82 typedef _u64 _word_size_t;
83 #define THREAD_PROC __stdcall 85 typedef _u32 _word_size_t;
86 #define THREAD_PROC __stdcall 87 #elif defined(__GNUC__) 88 typedef unsigned long _word_size_t;
90 #elif defined(__ICCARM__) 91 typedef _u32 _word_size_t;
98 #define RESULT_FAIL_BIT 0x80000000 99 #define RESULT_ALREADY_DONE 0x20 100 #define RESULT_INVALID_DATA (0x8000 | RESULT_FAIL_BIT) 101 #define RESULT_OPERATION_FAIL (0x8001 | RESULT_FAIL_BIT) 102 #define RESULT_OPERATION_TIMEOUT (0x8002 | RESULT_FAIL_BIT) 103 #define RESULT_OPERATION_STOP (0x8003 | RESULT_FAIL_BIT) 104 #define RESULT_OPERATION_NOT_SUPPORT (0x8004 | RESULT_FAIL_BIT) 105 #define RESULT_FORMAT_NOT_SUPPORT (0x8005 | RESULT_FAIL_BIT) 106 #define RESULT_INSUFFICIENT_MEMORY (0x8006 | RESULT_FAIL_BIT) 108 #define IS_OK(x) (((x)&RESULT_FAIL_BIT) == 0) 109 #define IS_FAIL(x) (((x)&RESULT_FAIL_BIT)) unsigned __int16 uint16_t
_word_size_t(THREAD_PROC * thread_proc_t)(void *)
unsigned __int64 uint64_t
unsigned __int32 uint32_t