From 324a5e0f8ca0d251c4db988d086b3056c7d51a02 Mon Sep 17 00:00:00 2001 From: Dmitry Burmistrov Date: Sat, 16 Apr 2016 22:07:53 +0300 Subject: [PATCH] bindings: implement pool_setdisttype --- bindings/solv.i | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/solv.i b/bindings/solv.i index 4c098b39..53129004 100644 --- a/bindings/solv.i +++ b/bindings/solv.i @@ -1468,11 +1468,18 @@ typedef struct { static const int POOL_FLAG_NOINSTALLEDOBSOLETES = POOL_FLAG_NOINSTALLEDOBSOLETES; static const int POOL_FLAG_HAVEDISTEPOCH = POOL_FLAG_HAVEDISTEPOCH; static const int POOL_FLAG_NOOBSOLETESMULTIVERSION = POOL_FLAG_NOOBSOLETESMULTIVERSION; + static const int DISTTYPE_RPM = DISTTYPE_RPM; + static const int DISTTYPE_DEB = DISTTYPE_DEB; + static const int DISTTYPE_ARCH = DISTTYPE_ARCH; + static const int DISTTYPE_HAIKU = DISTTYPE_HAIKU; Pool() { Pool *pool = pool_create(); return pool; } + int setdisttype(int disttype) { + return pool_setdisttype($self, disttype); + } void set_debuglevel(int level) { pool_setdebuglevel($self, level); } -- 2.47.2