diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-09-02 23:38:48 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2019-09-02 23:51:15 +0200 |
commit | 4763814c683c50f8a3697b74e764f19c3dacccd5 (patch) | |
tree | 386ff43f024705a32310b882f2161b5f86d8820a /src/blogc/template-parser.h | |
parent | c12bdb94ecdc44f200a8030dfde4a5ec46053ea6 (diff) | |
download | blogc-feature/squareball.tar.gz blogc-feature/squareball.tar.bz2 blogc-feature/squareball.zip |
migrate codebase to use squareball. again :)feature/squareball
Diffstat (limited to 'src/blogc/template-parser.h')
-rw-r--r-- | src/blogc/template-parser.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/blogc/template-parser.h b/src/blogc/template-parser.h index 6183016..d21d6d8 100644 --- a/src/blogc/template-parser.h +++ b/src/blogc/template-parser.h @@ -10,8 +10,7 @@ #define _TEMPLATE_PARSER_H #include <stddef.h> -#include "../common/error.h" -#include "../common/utils.h" +#include <squareball.h> /* * note: whitespace cleaners are NOT added to AST. we fix strings right during @@ -48,11 +47,11 @@ typedef struct { // 2 slots to store node data. char *data[2]; - bc_slist_t *childs; + sb_slist_t *childs; } blogc_template_node_t; -bc_slist_t* blogc_template_parse(const char *src, size_t src_len, - bc_error_t **err); -void blogc_template_free_ast(bc_slist_t *ast); +sb_slist_t* blogc_template_parse(const char *src, size_t src_len, + sb_error_t **err); +void blogc_template_free_ast(sb_slist_t *ast); #endif /* _TEMPLATE_PARSER_H */ |