Use global scratch space for temporary objects, better errors

This commit is contained in:
2024-02-14 21:44:46 -06:00
parent bc948d1a61
commit 8b57e0c441
4 changed files with 149 additions and 102 deletions

View File

@@ -1,10 +1,10 @@
#ifndef CKIWI_H_
#define CKIWI_H_
#include <stddef.h>
#ifndef KIWI_CKIWI_H_
#define KIWI_CKIWI_H_
#ifdef __cplusplus
extern "C" {
#else
#include <stdbool.h>
#endif
#define KIWI_REF_ISNULL(ref) ((ref).impl_ == NULL)
@@ -98,4 +98,4 @@ char* kiwi_solver_dumps(const KiwiSolver* sp);
// Local Variables:
// mode: c++
// End:
#endif // CKIWI_H_
#endif // KIWI_CKIWI_H_