X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=bindings-CoreFoundation.git;a=blobdiff_plain;f=cbits%2Fhelper_CFBase.c;fp=cbits%2Fhelper_CFBase.c;h=5fb8abc90435815dbaaeab999378c59cd12062bb;hp=0000000000000000000000000000000000000000;hb=13d20a43bdc325dba0ad2b0fa2cb6b59f1dc2bce;hpb=7c761f4056b52b12383ca7a2be6298bda446ebe9 diff --git a/cbits/helper_CFBase.c b/cbits/helper_CFBase.c new file mode 100644 index 0000000..5fb8abc --- /dev/null +++ b/cbits/helper_CFBase.c @@ -0,0 +1,12 @@ +#include +#include + +#if MAC_OS_X_VERSION_10_2 <= MAC_OS_X_VERSION_MAX_ALLOWED +BC_INLINE_(kCFNull, CFNullRef) +#endif + +BC_INLINE_(kCFAllocatorDefault , CFAllocatorRef) +BC_INLINE_(kCFAllocatorSystemDefault, CFAllocatorRef) +BC_INLINE_(kCFAllocatorMalloc , CFAllocatorRef) +BC_INLINE_(kCFAllocatorNull , CFAllocatorRef) +BC_INLINE_(kCFAllocatorUseContext , CFAllocatorRef)