Mailinglist Archive: zypp-commit (118 mails)
| < Previous | Next > |
[zypp-commit] r11862 - in /trunk/sat-solver/bindings: dependency.i transaction.i
- From: kkaempf@xxxxxxxxxxxxxxxx
- Date: Thu, 04 Dec 2008 12:06:53 -0000
- Message-id: <20081204120653.F20B6B19EA@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx
| < Previous | Next > |