Start using CGFloat

Fixes a bunch of compiler warnings.  Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
This commit is contained in:
Kristian Rietveld
2009-12-28 09:01:01 +01:00
parent f3a5bf48d4
commit c8fef502e2
5 changed files with 23 additions and 21 deletions

View File

@ -32,6 +32,8 @@
#ifndef NSINTEGER_DEFINED
typedef int NSInteger;
typedef unsigned int NSUInteger;
typedef float CGFloat;
#endif
G_BEGIN_DECLS