Author: dpsimons
Date: Mon Mar 27 00:57:22 2017
New Revision: 40417
URL: http://svn.gna.org/viewcvs/gnustep?rev=40417&view=rev
Log:
fix definition of NSComparisonResult to be NSInteger
Modified:
libs/base/branches/gnustep_testplant_branch/ChangeLog
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h
Modified: libs/base/branches/gnustep_testplant_branch/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/ChangeLog?rev=40417&r1=40416&r2=40417&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/ChangeLog (original)
+++ libs/base/branches/gnustep_testplant_branch/ChangeLog Mon Mar 27
00:57:22 2017
@@ -1,3 +1,7 @@
+2017-03-26 Doug Simons <[email protected]>
+
+ * NSObjCRuntime.h: Fix definition of NSComparisonResult to be NSInteger.
+
2017-03-26 Doug Simons <[email protected]>
* win32/GSFileHandle.m: Fix reversed assignment of fh_stdout in
Modified:
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h?rev=40417&r1=40416&r2=40417&view=diff
==============================================================================
---
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h
(original)
+++
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSObjCRuntime.h
Mon Mar 27 00:57:22 2017
@@ -278,11 +278,11 @@
* <code>NSOrderedDescending</code>, for left hand side equals, less than, or
* greater than right hand side.
*/
-typedef enum _NSComparisonResult
+enum _NSComparisonResult
{
NSOrderedAscending = -1, NSOrderedSame, NSOrderedDescending
-}
-NSComparisonResult;
+};
+typedef NSInteger NSComparisonResult;
enum {NSNotFound = NSIntegerMax};
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs