From: Jay Freeman (saurik) Date: Wed, 8 Jan 2014 08:07:14 +0000 (-0800) Subject: Some changes to compile WinterBoard with clang++. X-Git-Url: https://git.saurik.com/iphone-api.git/commitdiff_plain/afdc61a9b9b010741b2a2dc1ac28e91cf754f6aa Some changes to compile WinterBoard with clang++. --- diff --git a/QuartzCore/CALayer.h b/QuartzCore/CALayer.h index 8b0e285..5ea5a42 100644 --- a/QuartzCore/CALayer.h +++ b/QuartzCore/CALayer.h @@ -137,7 +137,7 @@ - (float)opacity; - (void)setOpacity:(float)fp8; - (struct CGColor *)backgroundColor; -- (void)setBackgroundColor:(struct CGColor *)fp8; +- (void)setBackgroundColor:(UIColor *)fp8; - (id)filters; - (void)setFilters:(id)fp8; - (id)backgroundFilters; diff --git a/UIKit/UIColor.h b/UIKit/UIColor.h index 2396764..9afb4b4 100644 --- a/UIKit/UIColor.h +++ b/UIKit/UIColor.h @@ -20,7 +20,7 @@ + (id)lightGrayColor; + (id)whiteColor; + (id)grayColor; -+ (id)clearColor; ++ (UIColor *)clearColor; + (id)redColor; + (id)greenColor; + (id)blueColor; diff --git a/UIKit/UIScreen.h b/UIKit/UIScreen.h index d2f0be6..2e8432a 100644 --- a/UIKit/UIScreen.h +++ b/UIKit/UIScreen.h @@ -12,7 +12,7 @@ struct CGRect _bounds; } -+ (id)mainScreen; ++ (UIScreen *)mainScreen; - (id)init; - (struct CGRect)applicationFrame; - (struct CGRect)bounds;