Okay, I\'ve read half a dozen threads on this subject, but none of the solutions appear to address exact needs.
Question:
How does a Pure C (.c) fun
After much experimenting, I found that the most elegant way of solving my problem was to turn my core C library into an NSObject using the .m suffix. The method of calling back and forth resolved instantly. This change DOES alter my original library, but by so little, it's manageable. So to review:
My original C file was renamed to use the .m suffix. Then I added
@interface myCLibrary : NSObject
@end
to my .h file, and added to my formerly .c file, now renamed .m.
@implementation myCLibrary
@end
Just remember that C functions aren't to be pasted between these interface / implementation declarations, below them. Only Objective-C is to go inside these statements. Once I did that, calling the C functions, and calling BACK to other C functions worked great.
Thanks for all the help regardless.