By using the extern "C" linkage specification around the C function declarations.
Programmers should know about mangled function names and type-safe linkages. Then they should explain how the extern "C" linkage specification statement turns that feature off during compilation so that the linker properly links function calls to C functions.
Showing posts with label extern c usage. Show all posts
Showing posts with label extern c usage. Show all posts
Subscribe to:
Posts (Atom)