Ported PlaceholderParser::apply_env_variables() to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 17:56:38 +02:00
parent 724e668a94
commit f361d8ad43
4 changed files with 22 additions and 17 deletions

View file

@ -7,10 +7,11 @@
%}
%name{Slic3r::GCode::PlaceholderParser} class PlaceholderParser {
%name{_new} PlaceholderParser();
PlaceholderParser();
~PlaceholderParser();
void update_timestamp();
void apply_env_variables();
void apply_config(DynamicPrintConfig *config)
%code%{ THIS->apply_config(*config); %};
void set(std::string key, std::string value);