diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2019-09-27 21:41:40 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2019-09-27 21:41:40 -0400 |
| commit | 4d2b28bf1b5c63519513f8abc4695e06728739d1 (patch) | |
| tree | a361a56349937343b512ad011a0dca513da8c833 /README.md | |
| parent | d1a1990c4177653fd2379c227142e6208ecfc20d (diff) | |
| download | libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.tar.gz libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.tar.bz2 libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.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.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
