/** This struct is placed first in every allocated memory block */ typedef struct ut_mem_block_struct ut_mem_block_t; /** Dynamically allocated memory block */ struct ut_mem_block_struct{ UT_LIST_NODE_T(ut_mem_block_t) mem_block_list; /*!< mem block…
建立dll项目后,在头文件中,定义API宏 #ifndef API_S_H #define API_S_H ...... #ifndef DLL_S_20160424 #define API _declspec(dllimport) #else #define API _declspec(dllexport) #endif ...... int API apiFunction(); #endif 在头文件导出函数前添加 API 类型说明 int API apiFunction(); 关键的是.c…