summaryrefslogtreecommitdiff
path: root/share/swig/2.0.11/typemaps/cstring.swg
diff options
context:
space:
mode:
Diffstat (limited to 'share/swig/2.0.11/typemaps/cstring.swg')
-rw-r--r--share/swig/2.0.11/typemaps/cstring.swg9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/swig/2.0.11/typemaps/cstring.swg b/share/swig/2.0.11/typemaps/cstring.swg
new file mode 100644
index 0000000..e774c43
--- /dev/null
+++ b/share/swig/2.0.11/typemaps/cstring.swg
@@ -0,0 +1,9 @@
+%include <typemaps/cstrings.swg>
+
+%typemaps_cstring(%cstring,
+ char,
+ SWIG_AsCharPtr,
+ SWIG_AsCharPtrAndSize,
+ SWIG_FromCharPtr,
+ SWIG_FromCharPtrAndSize);
+