updated to the new api from ezc: changed semantic of [def] and Vars moved outside of Generator
This commit is contained in:
1 parent
d30c7254eb
commit
61fe6ea219
3 files changed
+40
-18
No files matched your search
@@ -47,7 +47,7 @@ namespace TemplatesFunctions
|
||||
|
||||
extern EzcFun ezc_functions;
|
||||
extern Ezc::Blocks ezc_blocks;
|
||||
|
||||
extern Ezc::Vars ezc_vars;
|
||||
|
||||
|
||||
void HtmlEscapeFormTxt(HtmlTextStream & out, const std::wstring & in)
|
||||
@@ -107,6 +107,7 @@ void InitGenerator(EzcGen & gen)
|
||||
*/
|
||||
gen.SetBlocks(ezc_blocks);
|
||||
gen.SetFunctions(ezc_functions);
|
||||
gen.SetVariables(ezc_vars);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user