summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/cpp/cvc5.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api/cpp/cvc5.cpp b/src/api/cpp/cvc5.cpp
index 2a8e0f4c7..5c3cbd3f5 100644
--- a/src/api/cpp/cvc5.cpp
+++ b/src/api/cpp/cvc5.cpp
@@ -762,6 +762,12 @@ std::string kindToString(Kind k)
: cvc5::kind::kindToString(extToIntKind(k));
}
+const char* toString(Kind k)
+{
+ return k == INTERNAL_KIND ? "INTERNAL_KIND"
+ : cvc5::kind::toString(extToIntKind(k));
+}
+
std::ostream& operator<<(std::ostream& out, Kind k)
{
switch (k)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback