From b25a939e2d8b045c083caf3264c4e5aac1cf88fb Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 15 Apr 2025 15:51:40 +0200 Subject: 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. --- tools/nissy_extra.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/nissy_extra.h') 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. size_t gendata_h48_derive(uint8_t, const void *, void *); int parse_h48_solver(const char *, uint8_t [static 1], uint8_t [static 1]); -long long int nissy_datainfo(uint64_t, const char *, void (*)(const char *)); +long long int nissy_datainfo(uint64_t, const char *); long long int nissy_derivedata(const char *, const void *, void *); -- cgit v1.3