diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-15 15:51:40 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-15 15:51:40 +0200 |
| commit | b25a939e2d8b045c083caf3264c4e5aac1cf88fb (patch) | |
| tree | 37b862c82389ceddcf4624b5e26536390d6b8265 /tools/nissy_extra.h | |
| parent | b02c083a3545b6e6b36ab62680128edec619a804 (diff) | |
| download | nissy-core-b25a939e2d8b045c083caf3264c4e5aac1cf88fb.tar.gz nissy-core-b25a939e2d8b045c083caf3264c4e5aac1cf88fb.zip | |
Better logging function
Now it is possible to provide some data together with the logging function.
This is useful for example in C++, where I can now provide an arbitrary
callable object as data, and a simple wrapper function that call the
callable object as logging function.
Diffstat (limited to 'tools/nissy_extra.h')
| -rw-r--r-- | tools/nissy_extra.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nissy_extra.h b/tools/nissy_extra.h index 3e9c9ab..505f53a 100644 --- a/tools/nissy_extra.h +++ b/tools/nissy_extra.h | |||
| @@ -11,5 +11,5 @@ for testing purposes only. | |||
| 11 | 11 | ||
| 12 | size_t gendata_h48_derive(uint8_t, const void *, void *); | 12 | size_t gendata_h48_derive(uint8_t, const void *, void *); |
| 13 | int parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]); | 13 | int parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]); |
| 14 | long long int nissy_datainfo(uint64_t, const char *, void (*)(const char *)); | 14 | long long int nissy_datainfo(uint64_t, const char *); |
| 15 | long long int nissy_derivedata(const char *, const void *, void *); | 15 | long long int nissy_derivedata(const char *, const void *, void *); |
