upm/src/t3311/t3311.i
Serban Waltter 555a0f9f82 dded bindings for iHumidity sensors.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
2018-10-11 17:54:09 +03:00

30 lines
620 B
OpenEdge ABL

#ifdef SWIGPYTHON
%module (package="pyupm_new_interfaces") htu21d
#endif
%import "interfaces/new_interfaces.i"
%include "../common_top.i"
/* BEGIN Java syntax ------------------------------------------------------- */
#ifdef SWIGJAVA
%typemap(javaimports) SWIGTYPE %{
import upm_new_interfaces.*;
%}
%include "arrays_java.i";
%include "../java_buffer.i"
JAVA_JNI_LOADLIBRARY(javaupm_t3311)
#endif
/* END Java syntax */
/* BEGIN Common SWIG syntax ------------------------------------------------- */
%pointer_functions(float, floatp);
%{
#include "t3311.hpp"
%}
%include "t3311.hpp"
/* END Common SWIG syntax */