summaryrefslogtreecommitdiff
path: root/swig
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2007-08-31 09:22:39 +0000
committerArvin Schnell <aschnell@suse.de>2007-08-31 09:22:39 +0000
commit498d6e5a522f6fd697752afef5e4c4a505862f83 (patch)
tree98fb8c629ed3b25e0c9f9688ed785395f39197da /swig
parente706db2238e278893544c437cb014c9627d3e215 (diff)
downloadlibzypp-bindings-498d6e5a522f6fd697752afef5e4c4a505862f83.tar.gz
libzypp-bindings-498d6e5a522f6fd697752afef5e4c4a505862f83.tar.bz2
libzypp-bindings-498d6e5a522f6fd697752afef5e4c4a505862f83.zip
- rename asString
Diffstat (limited to 'swig')
-rw-r--r--swig/Dep.i8
1 files changed, 6 insertions, 2 deletions
diff --git a/swig/Dep.i b/swig/Dep.i
index 97afdde..50f0751 100644
--- a/swig/Dep.i
+++ b/swig/Dep.i
@@ -1,6 +1,10 @@
+#if defined(SWIGPYTHON) || defined(SWIGRUBY)
+%rename Dep::asString "__str__";
+#endif
+
struct Dep
- {
+{
/** \name Dependency types
* These are the \em real dependency type contants to
* use. Don't mind that it's not an enum.
@@ -61,4 +65,4 @@ struct Dep
{}
/** The operator. */
for_use_in_switch _type;
- }; \ No newline at end of file
+};