028ef3a868
perlglue was missing in some xsp files. If file ordering ib XS.c is changed, header file could be missing. Maybe solves #2000
44 lines
858 B
Plaintext
44 lines
858 B
Plaintext
%module{Slic3r::XS};
|
|
|
|
%{
|
|
#include <myinit.h>
|
|
#include "Print.hpp"
|
|
#include "perlglue.hpp"
|
|
%}
|
|
|
|
%name{Slic3r::Print::State} class PrintState {
|
|
PrintState();
|
|
~PrintState();
|
|
bool started(PrintStep step) const;
|
|
bool done(PrintStep step) const;
|
|
void set_started(PrintStep step);
|
|
void set_done(PrintStep step);
|
|
void invalidate(PrintStep step);
|
|
void invalidate_all();
|
|
%{
|
|
|
|
%}
|
|
};
|
|
|
|
%package{Slic3r::Print::State};
|
|
%{
|
|
|
|
IV
|
|
_constant()
|
|
ALIAS:
|
|
STEP_INIT_EXTRUDERS = psInitExtruders
|
|
STEP_SLICE = psSlice
|
|
STEP_PERIMETERS = psPerimeters
|
|
STEP_PREPARE_INFILL = prPrepareInfill
|
|
STEP_INFILL = psInfill
|
|
STEP_SUPPORTMATERIAL = psSupportMaterial
|
|
STEP_SKIRT = psSkirt
|
|
STEP_BRIM = psBrim
|
|
PROTOTYPE:
|
|
CODE:
|
|
RETVAL = ix;
|
|
OUTPUT: RETVAL
|
|
|
|
%}
|
|
|