]> git.saurik.com Git - wxWidgets.git/commitdiff
indicating the memory ownership of our c-method for the clang analyzer
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 13 Jun 2012 18:43:37 +0000 (18:43 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 13 Jun 2012 18:43:37 +0000 (18:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/private/glgrab.h

index 3ec2df8f4ef4c217d2d4a2a84b3654b7c8d5fd96..a3ceabe689917d17fefef5cb399baead381177ff 100644 (file)
@@ -4,7 +4,7 @@
     extern "C" {
 #endif
 
-    CGImageRef grabViaOpenGL(CGDirectDisplayID display,
+    CF_RETURNS_RETAINED CGImageRef grabViaOpenGL(CGDirectDisplayID display,
                              CGRect srcRect);
 
 #if defined __cplusplus