Ported PlaceholderParser::update_timestamp() to XS

Note that Slic3r version number is now located in libslic3r.h
This commit is contained in:
Alessandro Ranellucci 2014-11-09 20:41:27 +01:00
parent 6135a9fb8b
commit 8b6a8e6307
7 changed files with 64 additions and 30 deletions

View file

@ -9,9 +9,11 @@
%name{Slic3r::GCode::PlaceholderParser} class PlaceholderParser {
%name{_new} PlaceholderParser();
~PlaceholderParser();
void update_timestamp();
void apply_config(DynamicPrintConfig *config)
%code%{ THIS->apply_config(*config); %};
%code%{ THIS->apply_config(*config); %};
void set(std::string key, std::string value);
void _single_set(std::string k, std::string v)
%code%{ THIS->_single[k] = v; %};