mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	 19977edae2
			
		
	
	
		19977edae2
		
	
	
	
	
		
			
			64bit Strawberry perl only. We don't use Strawberry perl anymore, so this has been removed for clarity. Added a PerlCallback wrapper to call a Perl subroutine from a C++ code.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			272 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			272 B
		
	
	
	
		
			Perl
		
	
	
	
	
	
| #!/usr/bin/perl
 | |
| 
 | |
| use strict;
 | |
| use warnings;
 | |
| 
 | |
| use Slic3r::XS;
 | |
| use Test::More tests => 1;
 | |
| 
 | |
| eval {
 | |
|     Slic3r::xspp_test_croak_hangs_on_strawberry();
 | |
| };
 | |
| is $@, "xspp_test_croak_hangs_on_strawberry: exception catched\n", 'croak from inside a C++ exception delivered';
 | |
| 
 | |
| __END__
 |