aboutsummaryrefslogtreecommitdiff
path: root/ctemplates_i.h
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-12-28 00:49:06 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-12-28 00:49:06 -0500
commit25dbc260962154cc07fa6e131d096bdcf55a6693 (patch)
tree6f718f6cd17633cf4c358d445af4a2da3897ca89 /ctemplates_i.h
parenta24dd899cea722ad83839c8adab6b5a1b401868c (diff)
downloadlibctemplates-25dbc260962154cc07fa6e131d096bdcf55a6693.tar.gz
libctemplates-25dbc260962154cc07fa6e131d096bdcf55a6693.tar.bz2
libctemplates-25dbc260962154cc07fa6e131d096bdcf55a6693.zip
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
Diffstat (limited to 'ctemplates_i.h')
-rw-r--r--ctemplates_i.h26
1 files changed, 0 insertions, 26 deletions
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;