74 #define __small_endian 77 #define __attribute__(x) 82 typedef _u8 _word_size_t;
85 typedef _u64 _word_size_t;
86 #define THREAD_PROC __stdcall 88 typedef _u32 _word_size_t;
89 #define THREAD_PROC __stdcall 90 #elif defined(__GNUC__) 91 typedef unsigned long _word_size_t;
93 #elif defined(__ICCARM__) 94 typedef _u32 _word_size_t;
101 #define RESULT_FAIL_BIT 0x80000000 102 #define RESULT_ALREADY_DONE 0x20 103 #define RESULT_INVALID_DATA (0x8000 | RESULT_FAIL_BIT) 104 #define RESULT_OPERATION_FAIL (0x8001 | RESULT_FAIL_BIT) 105 #define RESULT_OPERATION_TIMEOUT (0x8002 | RESULT_FAIL_BIT) 106 #define RESULT_OPERATION_STOP (0x8003 | RESULT_FAIL_BIT) 107 #define RESULT_OPERATION_NOT_SUPPORT (0x8004 | RESULT_FAIL_BIT) 108 #define RESULT_FORMAT_NOT_SUPPORT (0x8005 | RESULT_FAIL_BIT) 109 #define RESULT_INSUFFICIENT_MEMORY (0x8006 | RESULT_FAIL_BIT) 111 #define IS_OK(x) (((x)&RESULT_FAIL_BIT) == 0) 112 #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