#ifdef __cplusplus extern "C" { #endif void hehe(); #ifdef __cplusplus } #endif
#include "hoge.h" void hehe() { std::cout << "hehe" << std::endl; }