Add extern "C"