diff options
author | Michael Schroeder <mls@suse.de> | 2012-11-23 14:27:02 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2012-11-23 14:27:02 +0100 |
commit | eef58960087e9d7b347e77629b0da03b656b8377 (patch) | |
tree | 2bae16ec83423f25bfda270e3df5a7897f9e12c0 /bindings | |
parent | edf71cc964592b3bfb3473d847c250b8c779e8a6 (diff) | |
download | libsolv-eef58960087e9d7b347e77629b0da03b656b8377.tar.gz libsolv-eef58960087e9d7b347e77629b0da03b656b8377.tar.bz2 libsolv-eef58960087e9d7b347e77629b0da03b656b8377.zip |
support medianr in lookup_deltalocation, change lookup_location to return medianr 0 if the media number was not set
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/solv.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/solv.i b/bindings/solv.i index 2dc04bb..4d7624e 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -1647,12 +1647,12 @@ typedef struct { pool->pos = oldpos; return seq; } - const char *lookup_deltalocation() { + const char *lookup_deltalocation(unsigned int *OUTPUT) { Pool *pool = $self->repo->pool; Datapos oldpos = pool->pos; const char *loc; pool->pos = *$self; - loc = pool_lookup_deltalocation(pool, SOLVID_POS); + loc = pool_lookup_deltalocation(pool, SOLVID_POS, OUTPUT); pool->pos = oldpos; return loc; } |