refs #20 Add extern "C"