mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +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
|
@ -2,6 +2,8 @@
|
|||
|
||||
* Source/GSString.m: Fix position of external function declaration.
|
||||
Fix use gf getCString methods for length error.
|
||||
* Headers/Foundation/NSGeometry.h: Tweaks for stuff reported as
|
||||
problematic with objective-c++ compile.
|
||||
|
||||
2006-05-30 David Ayers <d.ayers@inode.at>
|
||||
|
||||
|
|
|
@ -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…
Reference in a new issue