aboutsummaryrefslogtreecommitdiff
path: root/inc/reduce.h
diff options
context:
space:
mode:
authorMarvin Borner2023-04-28 19:54:08 +0200
committerMarvin Borner2023-04-28 19:54:08 +0200
commitd19f7f5bb99ca1073edb3ce1b13e782a3f598b4a (patch)
tree4a079ad3f953983f478b4352c2620323b28e5c7e /inc/reduce.h
parentfa9e1764a6b10bd5d8f794d8e99e7dc56d089695 (diff)
Renamed reducer
Diffstat (limited to 'inc/reduce.h')
-rw-r--r--inc/reduce.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/reduce.h b/inc/reduce.h
new file mode 100644
index 0000000..82ea189
--- /dev/null
+++ b/inc/reduce.h
@@ -0,0 +1,11 @@
+// Copyright (c) 2023, Marvin Borner <dev@marvinborner.de>
+
+#ifndef REDUCER_H
+#define REDUCER_H
+
+#include <term.h>
+
+struct term *reduce(struct term *term, void (*callback)(int, char, void *),
+ void *data);
+
+#endif