extern “C”总结
摘要:
经常看到如下代码:#ifdef _cplusplusextern "C" {#endif#include "XXX.h"#ifdef _cplusplus}#endif解释:extern "C"的作用是,告诉C++编译器,下面的代码按照C的方式进行编译,说白了,不要对这些函数进行名字重整(funct... 阅读全文
posted @ 2010-12-24 21:02 翰墨小生 阅读(6344) 评论(4) 推荐(4) 编辑