Re: Executing non objective-c code in a loaded bundle
Re: Executing non objective-c code in a loaded bundle
- Subject: Re: Executing non objective-c code in a loaded bundle
- From: "stephen joseph butler" <email@hidden>
- Date: Wed, 28 Jun 2006 00:20:34 -0500
2006/6/27, Mark Williams <email@hidden>:
I have a bundle with a couple of plain old C functions in it. When I
load it I have no trouble executing any objective-c code but I do not
know how to execute a regular c function from the loaded bundle like
somefunction(); Is it possible to do this or do I have to convert it
all to obj-c?
You have to use the CFBundle API (which isn't toll-free-bridge with
NSBundle). Specifically:
http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/Tasks/loading.html#//apple_ref/doc/uid/20001127
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden