That is egg on my face :S


On Sat, Feb 8, 2014 at 8:11 AM, Jeff Verkoeyen <notifications@github.com>wrote:

> In src/core/src/NIFoundationMethods.h:
>
> > @@ -182,6 +182,117 @@
> >
> >
> >  #pragma mark -
> > +#pragma mark CGFloat Methods
> > +
> > +/**
> > + * For manipulating CGFloat.
> > + *
> > + * @defgroup CGFloat-Methods CGFloat Methods
> > + * @{
> > + *
> > + * These methods provide math functions on CGFloats. They could easily be replaced with <tgmath.h>
> > + * but that is currently (Xcode 5.0) incompatible with CLANG_ENABLE_MODULES (on by default for
> > + * many projects/targets). We'll use CG_INLINE because this really should be completely inline.
> > + */
> > +
> > +
> > +#ifdef CGFLOAT_IS_DOUBLE
>
> Aye, this is going to make it always use the CGFLOAT_IS_DOUBLE execution
> path. I've pushed a change to use #if instead of #ifdef in c8126f8<https://github.com/jverkoey/nimbus/commit/c8126f84c28f36711c4f2f77e919857c4b2347d6>
> .
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/jverkoey/nimbus/pull/506/files#r9564405>
> .
>