I have written a little interpreter in C++. I'd like to allow my users
to call arbitrary MacOS X APIs (Carbon, and later a Cocoa bridge).
Users simply provide a prototype for the MacOS API call, specifying
parameter types, name and framework, and I'd use
CFBundleGetFunctionPointerForName() to look up the proper symbol. So
far, so good, but how would I actually *call* this function. After all,
I do not know the signature of the function until runtime.
Can anyone point me at info on how to do that? There is apparently no
way to do this in C++, and ...