--- /dev/null
+#include <bindings.dsl.h>
+#include <CoreFoundation/CFData.h>
+
+module Bindings.CoreFoundation.CFData where
+#strict_import
+import Bindings.CoreFoundation.CFBase
+
+#opaque_t __CFData
+#synonym_t CFDataRef , Ptr <__CFData>
+#synonym_t CFMutableDataRef, Ptr <__CFData>
+
+#ccall CFDataGetTypeID , IO <CFTypeID>
+#ccall CFDataCreate , <CFAllocatorRef> -> Ptr <UInt8> -> <CFIndex> -> IO <CFDataRef>
+#ccall CFDataCreateWithBytesNoCopy, <CFAllocatorRef> -> Ptr <UInt8> -> <CFIndex> -> <CFAllocatorRef> -> IO <CFDataRef>
+#ccall CFDataCreateCopy , <CFAllocatorRef> -> <CFDataRef> -> IO <CFDataRef>
+#ccall CFDataCreateMutable , <CFAllocatorRef> -> <CFIndex> -> IO <CFMutableDataRef>
+#ccall CFDataCreateMutableCopy , <CFAllocatorRef> -> <CFIndex> -> <CFDataRef> -> IO <CFMutableDataRef>
+#ccall CFDataGetLength , <CFDataRef> -> IO <CFIndex>
+#ccall CFDataGetBytePtr , <CFDataRef> -> IO (Ptr <UInt8>)
+#ccall CFDataGetMutableBytePtr , <CFMutableDataRef> -> IO (Ptr <UInt8>)
+#cinline CFDataGetBytes , <CFDataRef> -> Ptr <CFRange> -> Ptr <UInt8> -> IO ()
+#ccall CFDataSetLength , <CFMutableDataRef> -> <CFIndex> -> IO ()
+#ccall CFDataIncreaseLength , <CFMutableDataRef> -> <CFIndex> -> IO ()
+#ccall CFDataAppendBytes , <CFMutableDataRef> -> Ptr <UInt8> -> <CFIndex> -> IO ()
+#cinline CFDataReplaceBytes , <CFMutableDataRef> -> Ptr <CFRange> -> Ptr <UInt8> -> <CFIndex> -> IO ()
+#cinline CFDataDeleteBytes , <CFMutableDataRef> -> Ptr <CFRange> -> IO ()
--- /dev/null
+#include <bindings.cmacros.h>
+#include <CoreFoundation/CFData.h>
+
+void
+inline_CFDataGetBytes(CFDataRef theData, CFRange* range, UInt8 *buffer) {
+ return CFDataGetBytes(theData, *range, buffer);
+}
+
+void
+inline_CFDataReplaceBytes(CFMutableDataRef theData,
+ CFRange* range,
+ const UInt8 *newBytes,
+ CFIndex newLength) {
+ return CFDataReplaceBytes(theData, *range, newBytes, newLength);
+}
+
+void
+inline_CFDataDeleteBytes(CFMutableDataRef theData, CFRange* range) {
+ return CFDataDeleteBytes(theData, *range);
+}