From: Duncan Mac-Vicar P Date: Fri, 26 Oct 2007 13:57:13 +0000 (+0000) Subject: each_solvable in Source almost working X-Git-Tag: BASE-SuSE-Code-12_1-Branch~308^2~887 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca3b457e4d4d997ef9662e288f643bd9430b30f4;p=thirdparty%2Flibsolv.git each_solvable in Source almost working --- diff --git a/src/pool.c b/src/pool.c index 0c0a2796..fda74cc9 100644 --- a/src/pool.c +++ b/src/pool.c @@ -64,6 +64,7 @@ static char *initpool_data[] = { Pool * pool_create(void) { + printf("POOL CREATE"); int count, totalsize = 0; Pool *pool; Solvable *s; diff --git a/src/pool.h b/src/pool.h index e48e5b05..433ac763 100644 --- a/src/pool.h +++ b/src/pool.h @@ -17,8 +17,8 @@ extern "C" { #include "queue.h" // bool -#ifndef SWIG #ifndef __cplusplus +#ifndef SWIG typedef _Bool bool; #endif #endif @@ -76,11 +76,8 @@ struct _Pool { Solvable *solvables; int nsolvables; -#ifdef SWIG - _Bool promoteepoch; -#else bool promoteepoch; -#endif + Id *id2arch; /* map arch ids to scores */ Id lastarch; /* last valid entry in id2arch */