mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-27 14:00:22 +00:00
Issue #346, anonymous structure names fix by Gary Byers
This commit is contained in:
parent
94a39129bc
commit
a2817abb33
@ -14,7 +14,7 @@ typedef double CGFloat;
|
||||
typedef float CGFloat;
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
typedef struct _CGPoint {
|
||||
CGFloat x;
|
||||
CGFloat y;
|
||||
} NSPoint;
|
||||
@ -22,7 +22,7 @@ typedef struct {
|
||||
typedef NSPoint *NSPointArray;
|
||||
typedef NSPoint *NSPointPointer;
|
||||
|
||||
typedef struct {
|
||||
typedef struct _CGSize {
|
||||
CGFloat width;
|
||||
CGFloat height;
|
||||
} NSSize;
|
||||
@ -30,7 +30,7 @@ typedef struct {
|
||||
typedef NSSize *NSSizeArray;
|
||||
typedef NSSize *NSSizePointer;
|
||||
|
||||
typedef struct {
|
||||
typedef struct _CGRect {
|
||||
NSPoint origin;
|
||||
NSSize size;
|
||||
} NSRect;
|
||||
|
@ -8,7 +8,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
typedef struct {
|
||||
typedef struct _NSRange {
|
||||
NSUInteger location;
|
||||
NSUInteger length;
|
||||
} NSRange;
|
||||
|
Loading…
Reference in New Issue
Block a user