PrusaSlicer-NonPlainar/xs/xsp/XS.xsp

25 lines
303 B
Plaintext
Raw Normal View History

2013-06-22 15:16:45 +00:00
%module{Slic3r::XS};
%package{Slic3r::XS};
#include <xsinit.h>
2013-06-23 13:33:07 +00:00
%{
2013-06-22 15:16:45 +00:00
%}
%package{Slic3r};
%{
SV*
VERSION()
CODE:
RETVAL = newSVpv(SLIC3R_VERSION, 0);
OUTPUT: RETVAL
SV*
DEBUG_OUT_PATH_PREFIX()
CODE:
RETVAL = newSVpv(SLIC3R_DEBUG_OUT_PATH_PREFIX, 0);
OUTPUT: RETVAL
%}