PrusaSlicer-NonPlainar/xs/main.xs.in
Lukas Matena bbd870b26c Sync to c987b4585:
this is needed so we can later ff public/stable (currently at version_2.5.2) to version_2.6.0
2023-03-31 16:50:25 +02:00

26 lines
440 B
Plaintext

#include <cstring>
#include <cstdlib>
#include <ostream>
#include <sstream>
#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@