C functions and instance variables
C functions and instance variables
- Subject: C functions and instance variables
- From: Trygve Inda <email@hidden>
- Date: Fri, 28 Mar 2008 09:14:32 +0000
- Thread-topic: C functions and instance variables
I have a Cocoa object with .m and .h files and need to include in this a
series of about 30 C functions which all all in their own .c file. Is it
possible to give functions in the .c file access to the .m files instance
variables?
How can I do this without rewriting the .c functions as Obj-C?
Also, is there a way to use two .m files for one object so that all my code
doesn't have to be in one file? Can I just #import one .m file into the
other?
Thanks,
Trygve
_______________________________________________
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