diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-09 08:12:02 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-09 08:12:02 -0400 |
commit | e4f615faf36e0163a5b550df9916a1e6198770b9 (patch) | |
tree | 13c54155e33b228a5a3661a0aea859bfd2de4616 /include/template.h | |
parent | 3357f87a5efe478be2433787c29de640dc21b33d (diff) | |
download | stasis-e4f615faf36e0163a5b550df9916a1e6198770b9.tar.gz |
Address shortcomings and bugs flushed out by unit tests
Diffstat (limited to 'include/template.h')
-rw-r--r-- | include/template.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |