I guess you might use extern "C" directive for C-style linkage