Hi Xy,

You *could* use:

#if _COREDATADEFINES_H

like you suggested, *however*, you'll need to define this value to the same
value that was defined when building the Objective-C library that you are
binding.

Hope that helps,

Jeff

On Sun, Nov 20, 2011 at 1:17 AM, Xy <[email protected]> wrote:

> I'm writing bindings for an Obj-C library, and the interface definition has
> '#ifdef _COREDATADEFINES_H' to wrap around CoreData-related functionality.
> Is the equivalent in C# just '#if _COREDATADEFINES_H'?
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/The-equivalence-of-ifdef-COREDATADEFINES-H-tp4088056p4088056.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to