diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-01-30 22:45:46 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-01-30 22:45:46 +0100 |
commit | c4d19f731dc683c5a65327d99f2b416d4781f00b (patch) | |
tree | 09e8941c5ac840b2a74ca28e5a474b7746e5fe79 /src/renderer.h | |
parent | 008c96d6518125f2683c1b4e842ca3ed6e865c3d (diff) | |
parent | 3b0ea0a4908f1702308354ec7cbd8db5c80f87ee (diff) | |
download | blogc-c4d19f731dc683c5a65327d99f2b416d4781f00b.tar.gz blogc-c4d19f731dc683c5a65327d99f2b416d4781f00b.tar.bz2 blogc-c4d19f731dc683c5a65327d99f2b416d4781f00b.zip |
Merge remote-tracking branch 'origin/master' into feature/directives
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/renderer.h b/src/renderer.h index e5cff6e..15204e6 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -1,6 +1,6 @@ /* * blogc: A blog compiler. - * Copyright (C) 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br> + * Copyright (C) 2015-2016 Rafael G. Martins <rafael@rafaelmartins.eng.br> * * This program can be distributed under the terms of the BSD License. * See the file LICENSE. @@ -14,7 +14,10 @@ const char* blogc_get_variable(const char *name, b_trie_t *global, b_trie_t *local); char* blogc_format_date(const char *date, b_trie_t *global, b_trie_t *local); -char* blogc_format_variable(const char *name, b_trie_t *global, b_trie_t *local); +char* blogc_format_variable(const char *name, b_trie_t *global, b_trie_t *local, + b_slist_t *foreach_var); +b_slist_t* blogc_split_list_variable(const char *name, b_trie_t *global, + b_trie_t *local); char* blogc_render(b_slist_t *tmpl, b_slist_t *sources, b_trie_t *config, bool listing); |