summaryrefslogtreecommitdiff
path: root/linux-x86/share/swig/ruby/std_string.i
diff options
context:
space:
mode:
Diffstat (limited to 'linux-x86/share/swig/ruby/std_string.i')
-rw-r--r--linux-x86/share/swig/ruby/std_string.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-x86/share/swig/ruby/std_string.i b/linux-x86/share/swig/ruby/std_string.i
new file mode 100644
index 0000000..f9ecd8e
--- /dev/null
+++ b/linux-x86/share/swig/ruby/std_string.i
@@ -0,0 +1,7 @@
+
+%warnfilter(SWIGWARN_RUBY_WRONG_NAME) std::basic_string<char>;
+
+AUTODOC(substr, "Return a portion of the String");
+
+%include <typemaps/std_string.swg>
+