Re: Accessing objective-c from c
Re: Accessing objective-c from c
- Subject: Re: Accessing objective-c from c
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 30 May 2003 12:13:48 +0100
On Friday, May 30, 2003, at 06:56 am, James Howard wrote:
I've been playing around with unsanity's ape sdk lately. Its pretty
cool, but to do anything complex it requires that I make a lot of
objective-c calls from c. I've figured out how to send and get return
values for all of the possible objective-c message types except for
those methods that return just a plain int or something.
Eeeek! Why are you doing this?! Just change the source file's name to
.m and call Obj-C in the normal way. You do *NOT* have to worry about
translating the calls into plain C, that's what the compiler is there
for!
-- Finlay
_______________________________________________
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.