summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:52:55 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:53:17 +0900
commitba4d7201b44ecec1182b53571d98b2be4ca50264 (patch)
tree099cf6127f7020528a4d05083fc059cbf3ad7db5 /bindings
parent1be9896f3702c4996e1a43e1c9b5c18366ff42b9 (diff)
downloadlibsolv-ba4d7201b44ecec1182b53571d98b2be4ca50264.tar.gz
libsolv-ba4d7201b44ecec1182b53571d98b2be4ca50264.tar.bz2
libsolv-ba4d7201b44ecec1182b53571d98b2be4ca50264.zip
Imported Upstream version 0.6.5upstream/0.6.5
Change-Id: If69a2170a61800e3f778ec1f78364531c9642950 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/solv.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/bindings/solv.i b/bindings/solv.i
index 2d8f775..e8acd35 100644
--- a/bindings/solv.i
+++ b/bindings/solv.i
@@ -1397,6 +1397,15 @@ typedef struct {
return pool_queuetowhatprovides($self, &q);
}
+ %typemap(out) Queue whatmatchesdep Queue2Array(XSolvable *, 1, new_XSolvable(arg1, id));
+ %newobject whatmatchesdep;
+ Queue whatmatchesdep(Id keyname, DepId dep, Id marker = -1) {
+ Queue q;
+ queue_init(&q);
+ pool_whatmatchesdep($self, keyname, dep, &q, marker);
+ return q;
+ }
+
#ifdef SWIGRUBY
%rename("isknownarch?") isknownarch;
#endif
@@ -2769,6 +2778,7 @@ rb_eval_string(
static const int SOLVER_FLAG_KEEP_ORPHANS = SOLVER_FLAG_KEEP_ORPHANS;
static const int SOLVER_FLAG_BREAK_ORPHANS = SOLVER_FLAG_BREAK_ORPHANS;
static const int SOLVER_FLAG_FOCUS_INSTALLED = SOLVER_FLAG_FOCUS_INSTALLED;
+ static const int SOLVER_FLAG_YUM_OBSOLETES = SOLVER_FLAG_YUM_OBSOLETES;
static const int SOLVER_REASON_UNRELATED = SOLVER_REASON_UNRELATED;
static const int SOLVER_REASON_UNIT_RULE = SOLVER_REASON_UNIT_RULE;