mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
Ported PlaceholderParser::update_timestamp() to XS
Note that Slic3r version number is now located in libslic3r.h
This commit is contained in:
1 parent
6135a9fb8b
commit
8b6a8e6307
7 files changed
+64
-30
No files matched your search
@@ -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; %};
|
||||
|
||||
@@ -6,3 +6,14 @@
|
||||
%{
|
||||
|
||||
%}
|
||||
|
||||
%package{Slic3r};
|
||||
%{
|
||||
|
||||
SV*
|
||||
VERSION()
|
||||
CODE:
|
||||
RETVAL = newSVpv(SLIC3R_VERSION, 0);
|
||||
OUTPUT: RETVAL
|
||||
|
||||
%}
|
||||
Reference in new issue
Block a user