123456789101112131415161718192021222324252627282930313233 |
- %module{Slic3r::XS};
- %package{Slic3r::XS};
- #include <xsinit.h>
- %{
- %}
- %package{Slic3r};
- %{
- SV*
- VERSION()
- CODE:
- RETVAL = newSVpv(SLIC3R_VERSION, 0);
- OUTPUT: RETVAL
- SV*
- GITVERSION()
- CODE:
- RETVAL = newSVpv(SLIC3R_GIT, 0);
- OUTPUT: RETVAL
- void
- xspp_test_croak_hangs_on_strawberry()
- CODE:
- try {
- throw 1;
- } catch (...) {
- croak("xspp_test_croak_hangs_on_strawberry: exception catched\n");
- }
- %}
|