Re: Wrapping C
Re: Wrapping C
- Subject: Re: Wrapping C
- From: Cameron Hayne <email@hidden>
- Date: Thu, 10 Oct 2002 17:00:43 -0400
On 10/10/02 12:21 pm, "Steve Ivy" <email@hidden> wrote:
>
I'm looking for something that
>
will help me create an Obc-C wrapper for a large-ish C library.
>
Ideally, it would be something like SWIG (http://www.swig.org/exec.html
>
- motto: "We are building a wrapper generator of extraordinary
>
magnitude.") but I'm not picky.
I'm not sure what you are looking for. As far as I can see, the point of
SWIG was to make C/C++ functions callable from a scripting language. But C
functions are already callable from Obj-C since Obj-C is a superset of C.
And in fact, the language is often referred to as Obj-C++ since you also can
mix in C++ code freely. What you can't do is map C++ classes onto Obj-C
classes. See the
http://Cocoa.mamasam.com archives for recent discussions
about this latter issue.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.
References: | |
| >Wrapping C (From: Steve Ivy <email@hidden>) |