[zypp-commit] r11862 - in /trunk/sat-solver/bindings: dependency.i transaction.i
![](https://seccdn.libravatar.org/avatar/eb2ff594a217acb7dff96eaafa6c848c.jpg?s=120&d=mm&r=g)
Author: kkaempf Date: Thu Dec 4 13:06:53 2008 New Revision: 11862 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11862&view=rev Log: mixin Enumerable for Ruby Modified: trunk/sat-solver/bindings/dependency.i trunk/sat-solver/bindings/transaction.i Modified: trunk/sat-solver/bindings/dependency.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/dependency.i?rev=11862&r1=11861&r2=11862&view=diff ============================================================================== --- trunk/sat-solver/bindings/dependency.i (original) +++ trunk/sat-solver/bindings/dependency.i Thu Dec 4 13:06:53 2008 @@ -25,6 +25,10 @@ typedef struct _Dependency {} Dependency; +#if defined(SWIGRUBY) +%mixin Dependency "Enumerable"; +#endif + %extend Dependency { %constant int DEP_PRV = DEP_PRV; %constant int DEP_REQ = DEP_REQ; Modified: trunk/sat-solver/bindings/transaction.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/transaction.i?rev=11862&r1=11861&r2=11862&view=diff ============================================================================== --- trunk/sat-solver/bindings/transaction.i (original) +++ trunk/sat-solver/bindings/transaction.i Thu Dec 4 13:06:53 2008 @@ -25,6 +25,9 @@ %rename(Transaction) _Transaction; typedef struct _Transaction {} Transaction; +#if defined(SWIGRUBY) +%mixin Transaction "Enumerable"; +#endif %extend Transaction { Transaction( Pool *pool ) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
kkaempf@svn.opensuse.org