Mailinglist Archive: zypp-commit (731 mails)
| < Previous | Next > |
[zypp-commit] r7049 - /trunk/libzypp-bindings/swig/Dep.i
- From: aschnell@xxxxxxxxxxxxxxxx
- Date: Fri, 31 Aug 2007 09:22:40 -0000
- Message-id: <20070831092240.44DDC23940@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Fri Aug 31 11:22:39 2007
New Revision: 7049
URL: http://svn.opensuse.org/viewcvs/zypp?rev=7049&view=rev
Log:
- rename asString
Modified:
trunk/libzypp-bindings/swig/Dep.i
Modified: trunk/libzypp-bindings/swig/Dep.i
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/Dep.i?rev=7049&r1=7048&r2=7049&view=diff
==============================================================================
--- trunk/libzypp-bindings/swig/Dep.i (original)
+++ trunk/libzypp-bindings/swig/Dep.i Fri Aug 31 11:22:39 2007
@@ -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 @@
{}
/** The operator. */
for_use_in_switch _type;
- };
\ No newline at end of file
+};
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
Date: Fri Aug 31 11:22:39 2007
New Revision: 7049
URL: http://svn.opensuse.org/viewcvs/zypp?rev=7049&view=rev
Log:
- rename asString
Modified:
trunk/libzypp-bindings/swig/Dep.i
Modified: trunk/libzypp-bindings/swig/Dep.i
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-bindings/swig/Dep.i?rev=7049&r1=7048&r2=7049&view=diff
==============================================================================
--- trunk/libzypp-bindings/swig/Dep.i (original)
+++ trunk/libzypp-bindings/swig/Dep.i Fri Aug 31 11:22:39 2007
@@ -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 @@
{}
/** The operator. */
for_use_in_switch _type;
- };
\ No newline at end of file
+};
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
| < Previous | Next > |