mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
objective-c++ tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23018 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
51538b417a
commit
5f5cb7d57a
2 changed files with 7 additions and 6 deletions
|
@ -118,21 +118,20 @@ typedef NSRect *NSRectPointer;
|
|||
}
|
||||
</example>
|
||||
*/
|
||||
typedef enum _NSRectEdge NSRectEdge;
|
||||
enum _NSRectEdge
|
||||
typedef enum _NSRectEdge
|
||||
{
|
||||
NSMinXEdge,
|
||||
NSMinYEdge,
|
||||
NSMaxXEdge,
|
||||
NSMaxYEdge
|
||||
};
|
||||
} NSRectEdge;
|
||||
|
||||
/** Point at 0,0 */
|
||||
static const NSPoint NSZeroPoint __attribute__((unused)); /* Zero point. */
|
||||
static const NSPoint NSZeroPoint __attribute__((unused)) = {0.0,0.0};
|
||||
/** Zero-size rectangle at 0,0 */
|
||||
static const NSRect NSZeroRect __attribute__((unused)); /* Zero rectangle. */
|
||||
static const NSRect NSZeroRect __attribute__((unused)) = {{0.0,0.0},{0.0,0.0}};
|
||||
/** Zero size */
|
||||
static const NSSize NSZeroSize __attribute__((unused)); /* Zero size. */
|
||||
static const NSSize NSZeroSize __attribute__((unused)) = {0.0,0.0};
|
||||
|
||||
/**** Function Prototypes ****************************************************/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue