mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
db341559bf
commit
748132fd61
3 changed files with 25 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -75,6 +75,10 @@ struct _NSRange
|
|||
unsigned int length;
|
||||
};
|
||||
|
||||
#ifndef STRICT_OPENSTEP
|
||||
typedef NSRange *NSRangePointer;
|
||||
#endif
|
||||
|
||||
/**** Function Prototypes ****************************************************/
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue