2013-06-22 15:16:45 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
%package{Slic3r::XS};
|
|
|
|
|
2015-12-07 23:39:54 +00:00
|
|
|
#include <xsinit.h>
|
2016-11-24 12:44:51 +00:00
|
|
|
#include "Utils.hpp"
|
2013-06-23 13:33:07 +00:00
|
|
|
|
|
|
|
%{
|
|
|
|
|
2013-06-22 15:16:45 +00:00
|
|
|
%}
|
2014-11-09 19:41:27 +00:00
|
|
|
|
|
|
|
%package{Slic3r};
|
|
|
|
%{
|
|
|
|
|
|
|
|
SV*
|
|
|
|
VERSION()
|
|
|
|
CODE:
|
|
|
|
RETVAL = newSVpv(SLIC3R_VERSION, 0);
|
|
|
|
OUTPUT: RETVAL
|
|
|
|
|
2017-02-19 15:04:57 +00:00
|
|
|
SV*
|
|
|
|
BUILD()
|
|
|
|
CODE:
|
2019-05-13 16:01:00 +00:00
|
|
|
RETVAL = newSVpv(SLIC3R_BUILD_ID, 0);
|
2017-02-19 15:04:57 +00:00
|
|
|
OUTPUT: RETVAL
|
|
|
|
|
2016-10-21 14:53:42 +00:00
|
|
|
SV*
|
|
|
|
FORK_NAME()
|
|
|
|
CODE:
|
2019-04-15 14:14:19 +00:00
|
|
|
RETVAL = newSVpv(SLIC3R_APP_NAME, 0);
|
2016-10-21 14:53:42 +00:00
|
|
|
OUTPUT: RETVAL
|
|
|
|
|
2016-11-24 12:44:51 +00:00
|
|
|
void
|
|
|
|
set_logging_level(level)
|
|
|
|
unsigned int level;
|
|
|
|
CODE:
|
|
|
|
Slic3r::set_logging_level(level);
|
|
|
|
|
2022-05-04 13:05:56 +00:00
|
|
|
%}
|