- moved declaration of pool_freerepo to repo.h
#include "solvable.h"
#include "queue.h"
-// bool
-#ifndef __cplusplus
-#ifndef SWIG
- typedef _Bool bool;
-#endif
-#endif
// see initpool_data[] in pool.c
/* well known ids */
Solvable *solvables;
int nsolvables;
- bool promoteepoch;
+ int promoteepoch;
Id *id2arch; /* map arch ids to scores */
Id lastarch; /* last valid entry in id2arch */
*/
extern void pool_free(Pool *pool);
/**
- * ????
- */
-extern void pool_freerepo(Pool *pool, Repo *repo);
-/**
* Prepares a pool for solving
*/
extern void pool_prepare(Pool *pool);
extern unsigned int repo_fix_legacy(Repo *repo, unsigned int provides, unsigned int supplements);
extern Repo *pool_addrepo_empty(Pool *pool);
+extern void pool_freerepo(Pool *pool, Repo *repo);
static inline const char *repo_name(const Repo *repo)
{