diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:06 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-06-17 17:39:30 +0200 |
| commit | e986713657bc5f9880e91ed49dd9b0d0227f048d (patch) | |
| tree | 908d371e60546795c4ca1f9a3b67571b964203c5 /src/cube_public.h | |
| parent | 02ce9adf6a9168ec66c322ce9e5a5cb9fe1e60a5 (diff) | |
| download | nissy-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.h | 6 |
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 | |||
| 170 | void | ||
| 171 | nissy_setlogger(void (*log)(const char *, va_list)) | ||
| 172 | { | ||
| 173 | nissy_log = log; | ||
| 174 | } | ||
