main.xs.in 480 B

123456789101112131415161718192021222324252627
  1. #include <cstring>
  2. #include <cstdlib>
  3. #include <ostream>
  4. #include <sstream>
  5. // #include <libslic3r/GCodeSender.hpp>
  6. #ifdef __cplusplus
  7. /* extern "C" { */
  8. #endif
  9. #include "EXTERN.h"
  10. #include "perl.h"
  11. #include "XSUB.h"
  12. #include "ppport.h"
  13. #undef do_open
  14. #undef do_close
  15. #ifdef __cplusplus
  16. /* } */
  17. #endif
  18. #ifdef _WIN32
  19. #undef XS_EXTERNAL
  20. #define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
  21. #endif /* MSVC */
  22. MODULE = Slic3r::XS PACKAGE = Slic3r::XS
  23. @INCLUDE_COMMANDS@