]> gitweb @ CieloNegro.org - bindings-CoreFoundation.git/blobdiff - cbits/helper_CFBase.c
CFBase.h
[bindings-CoreFoundation.git] / cbits / helper_CFBase.c
diff --git a/cbits/helper_CFBase.c b/cbits/helper_CFBase.c
new file mode 100644 (file)
index 0000000..5fb8abc
--- /dev/null
@@ -0,0 +1,12 @@
+#include <bindings.cmacros.h>
+#include <CoreFoundation/CFBase.h>
+
+#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)