mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
Updated rule for ABP sensor.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
parent
75dced21be
commit
802e95fc8c
@ -1,7 +1,17 @@
|
|||||||
|
#ifdef SWIGPYTHON
|
||||||
|
%module (package="upm") htu21d
|
||||||
|
#endif
|
||||||
|
|
||||||
|
%import "interfaces/new_interfaces.i"
|
||||||
|
|
||||||
%include "../common_top.i"
|
%include "../common_top.i"
|
||||||
|
|
||||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||||
#ifdef SWIGJAVA
|
#ifdef SWIGJAVA
|
||||||
|
%typemap(javaimports) SWIGTYPE %{
|
||||||
|
import upm_new_interfaces.*;
|
||||||
|
%}
|
||||||
|
|
||||||
JAVA_JNI_LOADLIBRARY(javaupm_abp)
|
JAVA_JNI_LOADLIBRARY(javaupm_abp)
|
||||||
#endif
|
#endif
|
||||||
/* END Java syntax */
|
/* END Java syntax */
|
||||||
@ -10,6 +20,5 @@ JAVA_JNI_LOADLIBRARY(javaupm_abp)
|
|||||||
%{
|
%{
|
||||||
#include "abp.hpp"
|
#include "abp.hpp"
|
||||||
%}
|
%}
|
||||||
%include "interfaces/iTemperature.hpp"
|
|
||||||
%include "abp.hpp"
|
%include "abp.hpp"
|
||||||
/* END Common SWIG syntax */
|
/* END Common SWIG syntax */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user