aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2019-09-27 21:41:40 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2019-09-27 22:27:13 -0400
commitd9103bafe57bb68439cfccef106a7334051bf876 (patch)
treeea25e253b1e867f28378cb9c295ae355db9c17c7 /README.md
parentd1a1990c4177653fd2379c227142e6208ecfc20d (diff)
downloadlibctemplates-d9103bafe57bb68439cfccef106a7334051bf876.tar.gz
libctemplates-d9103bafe57bb68439cfccef106a7334051bf876.tar.bz2
libctemplates-d9103bafe57bb68439cfccef106a7334051bf876.zip
Squashed warnings
Added the -Wextra flag to the makefile for debug builds, and squashed all the warning that came up.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 28bf1b5..55b2ed6 100644
--- a/README.md
+++ b/README.md
@@ -52,12 +52,12 @@ libctemplates.a, for example:
### Functions
- struct TMPL_templates* TMPL_alloc_template(char* template_string)
+ int TMPL_alloc_template(char* template_string, struct TMPL_templates **t)
Creates a template from the given string. This can be pretty expensive
so try to only do it once for each template you need, and call render()
as many times as you need on that template. If there was a problem building
-the template, the returned `template->error` will be non-zero, and you can
+the template, the returned value will be non-zero, and you can
retrive an error message with `TMPL_err()`
void TMPL_free_template(struct TMPL_templates* template)