I want to make the following Objective-C MacOS call:
[[[NSBundle mainBundle] resourcePath] fileSystemRepresentation]
but from C or C++? Is t