Add extern "C".
Merge pull request #44 from whitglint/master

Add extern "C".