Author: mlytwyn
Date: Wed Jan 25 16:36:30 2017
New Revision: 40299
URL: http://svn.gna.org/viewcvs/gnustep?rev=40299&view=rev
Log:
Add a method to define the coder version
Modified:
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSCoder.h
libs/base/branches/gnustep_testplant_branch/Source/NSCoder.m
Modified:
libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSCoder.h
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSCoder.h?rev=40299&r1=40298&r2=40299&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSCoder.h
(original)
+++ libs/base/branches/gnustep_testplant_branch/Headers/Foundation/NSCoder.h
Wed Jan 25 16:36:30 2017
@@ -48,6 +48,9 @@
* forward/backward compatibility in the face of class changes.</p>
*/
@interface NSCoder : NSObject
+
++ (NSInteger) coderVersion;
+
// Encoding Data
/**
Modified: libs/base/branches/gnustep_testplant_branch/Source/NSCoder.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSCoder.m?rev=40299&r1=40298&r2=40299&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/NSCoder.m
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/NSCoder.m Wed Jan
25 16:36:30 2017
@@ -74,6 +74,11 @@
}
}
++ (NSInteger) coderVersion
+{
+ return 0;
+}
+
- (void) encodeValueOfObjCType: (const char*)type
at: (const void*)address
{
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs