summaryrefslogtreecommitdiffstats
path: root/bindings/objc/objc.i
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/objc/objc.i')
-rw-r--r--bindings/objc/objc.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/bindings/objc/objc.i b/bindings/objc/objc.i
new file mode 100644
index 0000000..a205307
--- /dev/null
+++ b/bindings/objc/objc.i
@@ -0,0 +1,7 @@
+/* File : objc.i */
+
+/* http://www.swig.org/Doc1.3/Library.html#Library_carrays
+* 8.3.2 Passing binary data */
+%apply (char *STRING, int LENGTH) { (const void* buffer, int len) };
+
+%include ../_common/tinyWRAP.i
OpenPOWER on IntegriCloud