added extern macro for importing C functions into Objective-C++ files