mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 15:15:07 +03:00 
			
		
		
		
	Added bindings for iDistance sensors.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
		 Serban Waltter
					Serban Waltter
				
			
				
					committed by
					
						 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
			
				
	
			
			
			 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
						parent
						
							52b3087de9
						
					
				
				
					commit
					57f03b79aa
				
			| @@ -4,6 +4,7 @@ upm_mixed_module_init (NAME mb704x | ||||
|     C_SRC mb704x.c | ||||
|     CPP_HDR mb704x.hpp | ||||
|     CPP_SRC mb704x.cxx | ||||
|     IFACE_HDR iDistance.hpp | ||||
|     FTI_SRC mb704x_fti.c | ||||
|     CPP_WRAPS_C | ||||
|     REQUIRES mraa utilities-c) | ||||
|   | ||||
| @@ -1,7 +1,17 @@ | ||||
| #ifdef SWIGPYTHON | ||||
| %module (package="pyupm_new_interfaces") mb704x | ||||
| #endif | ||||
|  | ||||
| %import "interfaces/new_interfaces.i" | ||||
|  | ||||
| %include "../common_top.i" | ||||
|  | ||||
| /* BEGIN Java syntax  ------------------------------------------------------- */ | ||||
| #ifdef SWIGJAVA | ||||
| %typemap(javaimports) SWIGTYPE %{ | ||||
| import upm_new_interfaces.*; | ||||
| %} | ||||
|  | ||||
| JAVA_JNI_LOADLIBRARY(javaupm_mb704x) | ||||
| #endif | ||||
| /* END Java syntax */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user