From 25dbc260962154cc07fa6e131d096bdcf55a6693 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Thu, 28 Dec 2017 00:49:06 -0500 Subject: Made ctemplates more like a library Combined ctemplates.h and ctemplates_i.h into a single file, also included all header files as things to be installed in a library --- ctemplates_i.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'ctemplates_i.h') diff --git a/ctemplates_i.h b/ctemplates_i.h index 0e76fc3..767c1c2 100644 --- a/ctemplates_i.h +++ b/ctemplates_i.h @@ -10,11 +10,9 @@ #define _CTEMPLATE_H - #include "fbuf.h" #include "kmp.h" #include "hashmap.h" -#include "ctemplates.h" #define MAX_TEMPLATE_LENGTH 2147384647 @@ -159,30 +157,6 @@ struct TMPL_fmtlist{ char* name; } TMPL_fmtlist; -struct TMPL_varlist; -struct TMPL_loop; - -/* - * TMPL_varlist is a variable list of simple variables and/or - * loop variables - */ -//struct TMPL_varlist { - //struct TMPL_varlist *next; [> next variable list on a list <] - //struct TMPL_var *var; [> list of my simple variables <] - //struct TMPL_loop *loop; [> list of my loop variables <] - //struct TMPL_loop *parent; [> my parent loop variable (if any) <] -//}; - -/* TMPL_loop is a loop variable, which is a list of variable lists */ - -//struct TMPL_loop { - //struct TMPL_loop *next; [> next loop variable on a list <] - //const char *name; [> my name <] - //struct TMPL_varlist *varlist; [> list of my variable lists <] - //struct TMPL_varlist *tail; [> tail of "varlist" <] - //struct TMPL_varlist *parent; [> my parent variable list <] -//}; - /* Holdes all the data needed for a template*/ struct TMPL_templates{ struct TMPL_buf* out; -- cgit v1.2.3-70-g09d2