aboutsummaryrefslogtreecommitdiff
path: root/src/cube.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-17 17:39:06 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-17 17:39:30 +0200
commite986713657bc5f9880e91ed49dd9b0d0227f048d (patch)
tree908d371e60546795c4ca1f9a3b67571b964203c5 /src/cube.h
parent02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff)
downloadnissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz
nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip
Use callback function to log to stderr
Diffstat (limited to 'src/cube.h')
-rw-r--r--src/cube.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cube.h b/src/cube.h
index fb96823..4c2c492 100644
--- a/src/cube.h
+++ b/src/cube.h
@@ -1,3 +1,5 @@
1/* include: inttypes, stdarg, stdbool, string */
2
1/* 3/*
2All the functions below return 0 in case of success and a positive 4All the functions below return 0 in case of success and a positive
3number in case of error, unless otherwise specified. See (TODO: 5number in case of error, unless otherwise specified. See (TODO:
@@ -81,3 +83,5 @@ int64_t nissy_solve(
81 const void *data, 83 const void *data,
82 char *solutions 84 char *solutions
83); 85);
86
87void nissy_setlogger(void (*logger_function)(const char *, va_list));

Generated with cgit - Back to sebastiano.tronto.net