-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cadical): version 2.1.3 with native propagate
- Loading branch information
Showing
12 changed files
with
223 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
From d32cc1166635a6fd289c3fd9765823b2b68cdfe3 Mon Sep 17 00:00:00 2001 | ||
From: Christoph Jabs <[email protected]> | ||
Date: Tue, 11 Feb 2025 11:15:59 +0200 | ||
Subject: [PATCH] extend C api | ||
|
||
--- | ||
src/cadical.hpp | 2 ++ | ||
src/ccadical.cpp | 2 ++ | ||
src/ccadical.h | 2 ++ | ||
src/solver.cpp | 2 ++ | ||
4 files changed, 8 insertions(+) | ||
|
||
diff --git a/src/cadical.hpp b/src/cadical.hpp | ||
index 49adee9e..5cad21aa 100644 | ||
--- a/src/cadical.hpp | ||
+++ b/src/cadical.hpp | ||
@@ -940,6 +940,8 @@ public: | ||
// | ||
static void build (FILE *file, const char *prefix = "c "); | ||
|
||
+#include "cadical_extension.hpp" | ||
+ | ||
private: | ||
//==== start of state ==================================================== | ||
|
||
diff --git a/src/ccadical.cpp b/src/ccadical.cpp | ||
index 88ab164a..8186054a 100644 | ||
--- a/src/ccadical.cpp | ||
+++ b/src/ccadical.cpp | ||
@@ -186,3 +186,5 @@ void ccadical_conclude (CCaDiCaL *ptr) { | ||
((Wrapper *) ptr)->solver->conclude (); | ||
} | ||
} | ||
+ | ||
+#include "ccadical_extension.cpp" | ||
diff --git a/src/ccadical.h b/src/ccadical.h | ||
index 6d1b3ff0..a8f1b48a 100644 | ||
--- a/src/ccadical.h | ||
+++ b/src/ccadical.h | ||
@@ -60,6 +60,8 @@ int ccadical_simplify (CCaDiCaL *); | ||
#define ccadical_sat ccadical_solve | ||
#define ccadical_deref ccadical_val | ||
|
||
+#include "ccadical_extension.h" | ||
+ | ||
/*------------------------------------------------------------------------*/ | ||
#ifdef __cplusplus | ||
} | ||
diff --git a/src/solver.cpp b/src/solver.cpp | ||
index 9c002f3a..52d3e0eb 100644 | ||
--- a/src/solver.cpp | ||
+++ b/src/solver.cpp | ||
@@ -1740,3 +1740,5 @@ void Solver::error (const char *fmt, ...) { | ||
} | ||
|
||
} // namespace CaDiCaL | ||
+ | ||
+#include "solver_extension.cpp" | ||
-- | ||
2.47.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters