aboutsummaryrefslogtreecommitdiff
path: root/inc/reducer.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/reducer.h')
-rw-r--r--inc/reducer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/reducer.h b/inc/reducer.h
index 28fe8b1..a5cfda1 100644
--- a/inc/reducer.h
+++ b/inc/reducer.h
@@ -1,8 +1,10 @@
+// Copyright (c) 2023, Marvin Borner <dev@marvinborner.de>
+
#ifndef REDUCER_H
#define REDUCER_H
#include <term.h>
-struct term *reduce(struct term *term);
+struct term *reduce(struct term *term, void (*callback)(int, char));
#endif