]> gitweb @ CieloNegro.org - bindings-CoreFoundation.git/blobdiff - cbits/helper_CFData.c
CFData.h
[bindings-CoreFoundation.git] / cbits / helper_CFData.c
diff --git a/cbits/helper_CFData.c b/cbits/helper_CFData.c
new file mode 100644 (file)
index 0000000..1c1502d
--- /dev/null
@@ -0,0 +1,20 @@
+#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);
+}