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.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.h')
| -rw-r--r-- | src/cube.h | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -1,3 +1,5 @@ | |||
| 1 | /* include: inttypes, stdarg, stdbool, string */ | ||
| 2 | |||
| 1 | /* | 3 | /* |
| 2 | All the functions below return 0 in case of success and a positive | 4 | All the functions below return 0 in case of success and a positive |
| 3 | number in case of error, unless otherwise specified. See (TODO: | 5 | number 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 | |||
| 87 | void nissy_setlogger(void (*logger_function)(const char *, va_list)); | ||
