From e4f615faf36e0163a5b550df9916a1e6198770b9 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 9 Jun 2024 08:12:02 -0400 Subject: Address shortcomings and bugs flushed out by unit tests --- include/template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/template.h') diff --git a/include/template.h b/include/template.h index a242a08..362eb3d 100644 --- a/include/template.h +++ b/include/template.h @@ -42,7 +42,7 @@ int tpl_render_to_file(char *str, const char *filename); struct tplfunc_frame *tpl_getfunc(char *key); struct tplfunc_frame; -typedef int tplfunc(struct tplfunc_frame *frame); +typedef int tplfunc(struct tplfunc_frame *frame, void *result); struct tplfunc_frame { char *key; tplfunc *func; -- cgit