]>
git.saurik.com Git - apple/security.git/blob - utilities/src/SecCFRelease.h
5 // Created by Mitch Adler on 2/9/12.
6 // Copyright (c) 2012 Apple Inc. All rights reserved.
9 #ifndef _SECCFRELEASE_H_
10 #define _SECCFRELEASE_H_
12 #include <CoreFoundation/CFBase.h>
14 #define CFRetainSafe(CF) { \
15 CFTypeRef _cf = (CF); \
20 #define CFReleaseSafe(CF) { \
21 CFTypeRef _cf = (CF); \
26 #define CFReleaseNull(CF) { \
27 CFTypeRef _cf = (CF); \