mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 15:15:07 +03:00 
			
		
		
		
	 fe9254c004
			
		
	
	fe9254c004
	
	
	
		
			
			Signed-off-by: Bogdan Ichim <bogdan.ichim@rinftech.com> Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com>
		
			
				
	
	
		
			31 lines
		
	
	
		
			579 B
		
	
	
	
		
			OpenEdge ABL
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			579 B
		
	
	
	
		
			OpenEdge ABL
		
	
	
	
	
	
| %module javaupm_t6713
 | |
| %include "../upm.i"
 | |
| 
 | |
| %import "../interfaces/javaupm_iCO2Sensor.i"
 | |
| 
 | |
| %include "arrays_java.i";
 | |
| %include "../java_buffer.i"
 | |
| %include "cpointer.i"
 | |
| %include "typemaps.i"
 | |
| 
 | |
| %typemap(javaimports) SWIGTYPE %{
 | |
| import upm_interfaces.*;
 | |
| %}
 | |
| 
 | |
| %{
 | |
|     #include "t6713.hpp"
 | |
| %}
 | |
| 
 | |
| %include "t6713.hpp"
 | |
| 
 | |
| %pragma(java) jniclasscode=%{
 | |
|     static {
 | |
|         try {
 | |
|             System.loadLibrary("javaupm_t6713");
 | |
|         } catch (UnsatisfiedLinkError e) {
 | |
|             System.err.println("Native code library failed to load. \n" + e);
 | |
|             System.exit(1);
 | |
|         }
 | |
|     }
 | |
| %}
 |