ConditionalGcode.xsp 278 B

123456789101112131415161718
  1. %module{Slic3r::XS};
  2. %{
  3. #include <xsinit.h>
  4. #include "libslic3r/ConditionalGCode.hpp"
  5. %}
  6. %package{Slic3r::ConditionalGCode};
  7. %{
  8. PROTOTYPES: DISABLE
  9. std::string apply_math(std::string input)
  10. CODE:
  11. RETVAL = Slic3r::apply_math(input);
  12. OUTPUT:
  13. RETVAL
  14. %}