mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	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__
 |