From a162fdc74abf0686ec06e65e06d67a8ce5c13b30 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 20 Feb 2023 16:17:31 +0100 Subject: Kinda working but slow --- inc/reducer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/reducer.h') diff --git a/inc/reducer.h b/inc/reducer.h index a5cfda1..82ea189 100644 --- a/inc/reducer.h +++ b/inc/reducer.h @@ -5,6 +5,7 @@ #include -struct term *reduce(struct term *term, void (*callback)(int, char)); +struct term *reduce(struct term *term, void (*callback)(int, char, void *), + void *data); #endif -- cgit v1.2.3