From d9103bafe57bb68439cfccef106a7334051bf876 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 27 Sep 2019 21:41:40 -0400 Subject: Squashed warnings Added the -Wextra flag to the makefile for debug builds, and squashed all the warning that came up. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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) -- cgit v1.2.3-70-g09d2