摘要: 1 #include <iostream> 2 #include <mylib.h> 3 using namespace std; 4 int main() 5 { 6 while(1) 7 { 8 cout_t(5); 9 } 10 return 0; 11 12 } #ifndef MYLIB_ 阅读全文
posted @ 2017-08-28 13:51 HexOxZhw 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Linux 查看一个动态库的符号 nm -D plugin.so Windows dumpbin /exports plugin.dll linux 的符号是默认所有导出的,而windows是默认hide的。 #define ALPHAAPI __attribute__ ((visibility(" 阅读全文
posted @ 2017-08-28 02:41 HexOxZhw 阅读(149) 评论(0) 推荐(0) 编辑