Author: kkaempf Date: Thu Dec 4 13:06:13 2008 New Revision: 11861 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11861&view=rev Log: mixin Enumerable for Ruby Modified: trunk/sat-solver/bindings/repo.i Modified: trunk/sat-solver/bindings/repo.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/repo.i?rev=11861&r1=11860&r2=11861&view=diff ============================================================================== --- trunk/sat-solver/bindings/repo.i (original) +++ trunk/sat-solver/bindings/repo.i Thu Dec 4 13:06:13 2008 @@ -6,6 +6,9 @@ %rename(Repo) _Repo; typedef struct _Repo {} Repo; +#if defined(SWIGRUBY) +%mixin Repo "Enumerable"; +#endif %extend Repo { Repo( Pool *pool, const char *reponame ) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org