• 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: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing


  • Subject: Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 1 Feb 2010 11:15:54 -0800

On Mon, Feb 1, 2010 at 10:13 AM, Jonah Petri <email@hidden> wrote:
> How do other folks deal with this?

We statically link some code into our Automator actions, so we
encounter the same scenario. We abuse the preprocessor a bit by
compiling with a flag such as -DPLUGIN_NAME=MyPlugin and using code
like this:

#ifdef PLUGIN_NAME
#define MyClass PLUGIN_NAME_MyClass
#endif
@interface MyClass : …

--Kyle Sluder
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
      • From: Blue Cat Audio Dev <email@hidden>
References: 
 >Advice for Cocoa Plug-ins & Objective-C implementation uniquing (From: Jonah Petri <email@hidden>)

  • Prev by Date: Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
  • Next by Date: Re: Playing through speaker, recording through line in
  • Previous by thread: Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
  • Next by thread: Re: Advice for Cocoa Plug-ins & Objective-C implementation uniquing
  • Index(es):
    • Date
    • Thread