Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Extern "C" around the prototypes is mandatory, otherwise your linker will search for C++ symbols, which cannot be found in the C libraries you pass it.


Not only prototypes but typedefs with function pointers as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: