diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:57:23 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-27 14:57:23 +0900 |
commit | 26ea6e32000a3e6ea392ccc6f8c9d2f51aabd2e4 (patch) | |
tree | 822c0e96e5192dcd23d9e440ec9bf09b963dcbfc /bindings | |
parent | be2d42493b7600c4bdff046181f1519a3d44b13c (diff) | |
download | libsolv-26ea6e32000a3e6ea392ccc6f8c9d2f51aabd2e4.tar.gz libsolv-26ea6e32000a3e6ea392ccc6f8c9d2f51aabd2e4.tar.bz2 libsolv-26ea6e32000a3e6ea392ccc6f8c9d2f51aabd2e4.zip |
Imported Upstream version 0.6.18upstream/0.6.18
Change-Id: I592f8068e36a01effad5f86c7f5063b4d0bcd213
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/solv.i | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bindings/solv.i b/bindings/solv.i index 823deda..4c098b3 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -2189,6 +2189,11 @@ rb_eval_string( bool __ne__(Repo *repo) { return $self != repo; } +#if defined(SWIGPYTHON) + int __hash__() { + return $self->repoid; + } +#endif #if defined(SWIGPERL) || defined(SWIGTCL) %rename("str") __str__; #endif @@ -2708,6 +2713,11 @@ rb_eval_string( bool __ne__(Dep *s) { return !Dep___eq__($self, s); } +#if defined(SWIGPYTHON) + int __hash__() { + return $self->id; + } +#endif #if defined(SWIGPERL) || defined(SWIGTCL) %rename("str") __str__; #endif @@ -2955,6 +2965,11 @@ rb_eval_string( bool __ne__(XSolvable *s) { return !XSolvable___eq__($self, s); } +#if defined(SWIGPYTHON) + int __hash__() { + return $self->id; + } +#endif #if defined(SWIGPERL) || defined(SWIGTCL) %rename("str") __str__; #endif @@ -3629,6 +3644,11 @@ rb_eval_string( bool __ne__(XRule *xr) { return !XRule___eq__($self, xr); } +#if defined(SWIGPYTHON) + int __hash__() { + return $self->id; + } +#endif #if defined(SWIGPERL) || defined(SWIGTCL) %rename("repr") __repr__; #endif @@ -3754,6 +3774,11 @@ rb_eval_string( bool __ne__(XRepodata *xr) { return !XRepodata___eq__($self, xr); } +#if defined(SWIGPYTHON) + int __hash__() { + return $self->id; + } +#endif #if defined(SWIGPERL) || defined(SWIGTCL) %rename("repr") __repr__; #endif |