summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-10-08 12:25:43 +0300
committerTimo Teräs <timo.teras@iki.fi>2012-10-08 12:25:43 +0300
commit01d0e4c408ec5096784c59d5f470960fbb2f3753 (patch)
treec30722337ed8506cb3831a0eb8e0c89ede427975 /src/apk_package.h
parent831bce5cf90dea266f53a0d82c7371e4652c524c (diff)
downloadapk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.tar.gz
apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.tar.bz2
apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.tar.xz
apk-tools-01d0e4c408ec5096784c59d5f470960fbb2f3753.zip
solver: optimize backjumping
to be functional when backtracking
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index bd2bbe3..fdc0b8d 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -60,7 +60,8 @@ struct apk_sign_ctx {
struct apk_dependency {
struct apk_name *name;
apk_blob_t *version;
- unsigned short repository_tag;
+ unsigned solver_state : 22;
+ unsigned repository_tag : 6;
unsigned conflict : 1;
unsigned result_mask : 3;
};