Re: Is Objective-C loaded?
Re: Is Objective-C loaded?
- Subject: Re: Is Objective-C loaded?
- From: Sherm Pendley <email@hidden>
- Date: Tue, 19 Nov 2002 06:38:56 -0500
On Monday, November 18, 2002, at 06:49 PM, Rosyna wrote:
Is it possible to find out if any of the objective c frameworks have
loaded into an application? Also, what kind of functions require the
objective c framework to be loaded? Do the functions in the objc.h
header require anything?
The Objective-C runtime is found in /usr/lib/libobjc.dylib.
I ask because I am developing a plugin that could be in either a cocoa
or carbon application
I haven't tried it, but Core Foundations's Bundle Services looks
promising - it should be available to both Cocoa and Carbon apps. In
particular, you could use CFBundleGetFunctionPointerForName() to check
for objc_msgSend().
sherm--
If you listen to a UNIX shell, can you hear the C?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.