1)extern "C"
extern "C" void test(int i, int j)
{
printf("test\n");
return;
}
080488bb <test>
080488bb <_Z4testii>:
c++filt _Z4testii
test(int, int)
注意:main函數(shù)不會(huì)被改變
1)extern "C"
extern "C" void test(int i, int j)
{
printf("test\n");
return;
}
080488bb <test>
080488bb <_Z4testii>:
c++filt _Z4testii
test(int, int)
注意:main函數(shù)不會(huì)被改變