Commit 72404d1f by Alan Mishchenko

Proof-logging in the updated solver.

parent bb96fa36
...@@ -29,15 +29,15 @@ ABC_NAMESPACE_HEADER_START ...@@ -29,15 +29,15 @@ ABC_NAMESPACE_HEADER_START
// vector of 32-bit intergers (added for 64-bit portability) // vector of 32-bit intergers (added for 64-bit portability)
struct veci_t { struct veci_t {
int size;
int cap; int cap;
int size;
int* ptr; int* ptr;
}; };
typedef struct veci_t veci; typedef struct veci_t veci;
static inline void veci_new (veci* v) { static inline void veci_new (veci* v) {
v->size = 0;
v->cap = 4; v->cap = 4;
v->size = 0;
v->ptr = (int*)ABC_ALLOC( char, sizeof(int)*v->cap); v->ptr = (int*)ABC_ALLOC( char, sizeof(int)*v->cap);
} }
...@@ -68,8 +68,8 @@ static inline void veci_remove(veci* v, int e) ...@@ -68,8 +68,8 @@ static inline void veci_remove(veci* v, int e)
// vector of 32- or 64-bit pointers // vector of 32- or 64-bit pointers
struct vecp_t { struct vecp_t {
int size;
int cap; int cap;
int size;
void** ptr; void** ptr;
}; };
typedef struct vecp_t vecp; typedef struct vecp_t vecp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment