2017-08-16 17:05:08 +00:00
|
|
|
#include <cstring>
|
|
|
|
#include <cstdlib>
|
|
|
|
#include <ostream>
|
|
|
|
#include <sstream>
|
2019-01-16 11:22:17 +00:00
|
|
|
// #include <libslic3r/GCodeSender.hpp>
|
2017-08-16 17:05:08 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
#include "EXTERN.h"
|
|
|
|
#include "perl.h"
|
|
|
|
#include "XSUB.h"
|
|
|
|
#include "ppport.h"
|
|
|
|
#undef do_open
|
|
|
|
#undef do_close
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#undef XS_EXTERNAL
|
|
|
|
#define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
|
|
|
|
#endif /* MSVC */
|
|
|
|
|
|
|
|
MODULE = Slic3r::XS PACKAGE = Slic3r::XS
|
|
|
|
|
|
|
|
@INCLUDE_COMMANDS@
|