Use <stdbool.h> as the default instead. Additionally this also causes all
functions with return type 'bool' in solv.i having their return value
converted into 1 or 0[1].
[1] C99 Draft, 6.3.1.2
%include "typemaps.i"
%{
+#include <stdbool.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#define RARRAY_LEN(ary) (RARRAY(ary)->len)
#endif
-#define true 1
-#define false 1
-
#define SOLVER_SOLUTION_ERASE -100
#define SOLVER_SOLUTION_REPLACE -101
#define SOLVER_SOLUTION_REPLACE_DOWNGRADE -102
#define SOLVER_SOLUTION_REPLACE_VENDORCHANGE -104
typedef struct chksum Chksum;
-typedef int bool;
typedef void *AppObjectPtr;
typedef struct {