From 379219bbe4a7843bb32ea6dc7eca375105f2a909 Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Wed, 18 Mar 2020 11:49:12 +0100 Subject: more preparation for supporting inheritance --- src/template.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/template.h') diff --git a/src/template.h b/src/template.h index f65da47..45a58fc 100644 --- a/src/template.h +++ b/src/template.h @@ -1,10 +1,10 @@ #include "hashmap.h" #include "vector.h" -char *read_file(char *filename); -char *template(char *tmpl, struct hashmap *ctx); struct env; struct env *env_new(); void env_free(struct env *env); -char *render(struct env *env, char *template_name, struct hashmap *ctx); \ No newline at end of file +char *template(struct env *env, char *template_name, struct hashmap *ctx); +char *template_string(char *tmpl, struct hashmap *ctx); +char *read_file(char *filename); \ No newline at end of file -- cgit v1.2.3