• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wrapping C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Wrapping C
      • From: Brent Gulanowski <email@hidden>
References: 
 >Wrapping C (From: Steve Ivy <email@hidden>)

  • Prev by Date: Re: Carbon vs Cocoa arguments
  • Next by Date: Re: is protected broken, or am I?
  • Previous by thread: Wrapping C
  • Next by thread: Re: Wrapping C
  • Index(es):
    • Date
    • Thread