Added Cocoa typedefs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18287 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2003-12-30 11:52:39 +00:00
parent db341559bf
commit 748132fd61
3 changed files with 25 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-12-30 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSGeometry.h
* Headers/Foundation/NSRange.h
Added a few additonal Cocoa type definitions.
2003-12-25 Gregory John Casamento <greg_casamento@yahoo.com> &
* Source/NSBundle.m: Corrected spelling of "Warning" and

View file

@ -54,6 +54,11 @@ struct _NSPoint
float y;
};
#ifndef STRICT_OPENSTEP
typedef NSPoint *NSPointArray;
typedef NSPoint *NSPointPointer;
#endif
/* Rectangle sizes. */
typedef struct _NSSize NSSize;
struct _NSSize
@ -62,6 +67,11 @@ struct _NSSize
float height;
};
#ifndef STRICT_OPENSTEP
typedef NSSize *NSSizeArray;
typedef NSSize *NSSizePointer;
#endif
/* Rectangle. */
typedef struct _NSRect NSRect;
struct _NSRect
@ -70,6 +80,11 @@ struct _NSRect
NSSize size;
};
#ifndef STRICT_OPENSTEP
typedef NSRect *NSRectArray;
typedef NSRect *NSRectPointer;
#endif
/* Sides of a rectangle. */
typedef enum _NSRectEdge NSRectEdge;
enum _NSRectEdge

View file

@ -75,6 +75,10 @@ struct _NSRange
unsigned int length;
};
#ifndef STRICT_OPENSTEP
typedef NSRange *NSRangePointer;
#endif
/**** Function Prototypes ****************************************************/
/*