aboutsummaryrefslogtreecommitdiff
path: root/ctemplates.h
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-01-18 11:23:26 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2018-01-18 11:23:26 -0500
commit2079f37141f5cd9213e236356720fdf9365777ed (patch)
tree4f7ca8e4a5f4485580e5b0661e1e2d3401afb632 /ctemplates.h
parent760dd6b5f48c1daff9fda2e101b8a1917fdefa11 (diff)
downloadlibctemplates-2079f37141f5cd9213e236356720fdf9365777ed.tar.gz
libctemplates-2079f37141f5cd9213e236356720fdf9365777ed.tar.bz2
libctemplates-2079f37141f5cd9213e236356720fdf9365777ed.zip
Added a debug function
Added a function print_varlist(TMPL_varlist* vl) for debugging
Diffstat (limited to 'ctemplates.h')
-rw-r--r--ctemplates.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctemplates.h b/ctemplates.h
index 48237b4..f74e556 100644
--- a/ctemplates.h
+++ b/ctemplates.h
@@ -201,4 +201,7 @@ char* TMPL_render(struct TMPL_templates* t, struct TMPL_varlist* varlist, size_t
struct TMPL_tagnode* TMPL_alloc_tagnode(enum TMPL_tagtype);
void TMPL_free_tagnode(struct TMPL_tagnode* tn);
+/*A debug function*/
+void print_varlist(struct TMPL_varlist* vl);
+
#endif