Wrapping a C function library (as source) in an ObjC class...
Wrapping a C function library (as source) in an ObjC class...
- Subject: Wrapping a C function library (as source) in an ObjC class...
- From: William Squires <email@hidden>
- Date: Sun, 28 Mar 2010 11:18:02 -0500
... and other things.
1) I have a C library (as a .c and .h) file. I want to encapsulate
this functionality in an ObjC class. When importing header files into
my implementation file ".m", do I #include them or #import them? How
about existing library headers (like <string.h>)?
2) If my C code uses malloc/free, and my ObjC project has garbage
collection turned on, what 'gotcha's do I have to watch out for? What
if GC is turned off (for iPhone)?
Please cc any response to email@hidden - Thank you! :)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden