Author: paullanders
Date: Thu Feb 25 22:53:18 2016
New Revision: 39417
URL: http://svn.gna.org/viewcvs/gnustep?rev=39417&view=rev
Log:
remove the Tesplant NSCopyObject funtion.
Modified:
libs/base/branches/gnustep_testplant_branch/Source/NSCopyObject.m
Modified: libs/base/branches/gnustep_testplant_branch/Source/NSCopyObject.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/NSCopyObject.m?rev=39417&r1=39416&r2=39417&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/NSCopyObject.m
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/NSCopyObject.m Thu Feb
25 22:53:18 2016
@@ -46,15 +46,3 @@
return copy;
}
-
-NSObject *NSCopyObject_TP(NSObject *anObject, NSUInteger extraBytes, NSZone
*zone)
-{
-#if !defined(USE_OBJC_CAP_ARC)
- Class c = object_getClass(anObject);
- id copy = NSAllocateObject(c, extraBytes, zone);
- memcpy(((char*)copy + sizeof(id)), ((char*)anObject + sizeof(id)),
class_getInstanceSize(c) - sizeof(id));
- return copy;
-#else
- return NSCopyObject(anObject, extraBytes, zone);
-#endif
-}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs