summaryrefslogtreecommitdiffstats
path: root/bindings/objc
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
commit631fffee8a28b1bec5ed1f1d26a20e0135967f99 (patch)
tree74afe3bf3efe15aa82bcd0272b2b0f4d48c2d837 /bindings/objc
parent7908865936604036e6f200f1b5e069f8752f3a3a (diff)
downloaddoubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.zip
doubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.tar.gz
-
Diffstat (limited to 'bindings/objc')
-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..6b696d2
--- /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