aboutsummaryrefslogtreecommitdiff
path: root/src/cube_public.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_public.h
parent02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff)
downloadnissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.tar.gz
nissy-core-e986713657bc5f9880e91ed49dd9b0d0227f048d.zip
Use callback function to log to stderr
Diffstat (limited to 'src/cube_public.h')
-rw-r--r--src/cube_public.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cube_public.h b/src/cube_public.h
index 65d5d54..e2255c5 100644
--- a/src/cube_public.h
+++ b/src/cube_public.h
@@ -166,3 +166,9 @@ nissy_solve(
166 /* TODO: move solve_generic here? */ 166 /* TODO: move solve_generic here? */
167 return -1; 167 return -1;
168} 168}
169
170void
171nissy_setlogger(void (*log)(const char *, va_list))
172{
173 nissy_log = log;
174}

Generated with cgit - Back to sebastiano.tronto.net