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@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org