From fee6778710c82dfbee04ab23061a96d324facfdb Mon Sep 17 00:00:00 2001 From: "thomasvl@gmail.com" Date: Thu, 5 Mar 2009 21:30:41 +0000 Subject: - Changed gtm_createCGPath to gtm_cgPath in GTMNSBezier+CGPath. The path returned is now autoreleased so you don't need to worry about releasing it. - Made some changes to the GTMNSObject+UnitTesting APIs. Specifically renamed gtm_createUnitTestImage to gtm_unitTestImage. The value it returns is now autoreleased, so no need to release it. Also change gtm_createUnitTestBitmapOfSize:withData: to a C function. - Cleaned up GTM so that it passes the Clang checker without any warnings. --- AppKit/GTMNSBezierPath+CGPath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AppKit/GTMNSBezierPath+CGPath.h') diff --git a/AppKit/GTMNSBezierPath+CGPath.h b/AppKit/GTMNSBezierPath+CGPath.h index 3349142..a1b022e 100644 --- a/AppKit/GTMNSBezierPath+CGPath.h +++ b/AppKit/GTMNSBezierPath+CGPath.h @@ -26,8 +26,8 @@ // Args: // // Returns: -// Converted CGPathRef. Must be released by client (CGPathRelease). +// Converted autoreleased CGPathRef. // nil if failure. -- (CGPathRef)gtm_createCGPath; +- (CGPathRef)gtm_CGPath; @end -- cgit v1.2.3