typedef struct buf_pool_struct buf_pool_t; /** @brief The buffer pool structure. NOTE! The definition appears here only for other modules of this directory (buf) to see it. Do not use from outside! */ struct buf_pool_struct{ /** @name General fields…
建立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…