upm/src/hcsr04/hcsr04.i
Serban Waltter 5f9bebad14 Removed old interfaces and replaced them with the new ones.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
2018-10-11 17:55:25 +03:00

26 lines
527 B
OpenEdge ABL

#ifdef SWIGPYTHON
%module (package="upm") hcsr04
#endif
%import "interfaces/interfaces.i"
%include "../common_top.i"
/* BEGIN Java syntax ------------------------------------------------------- */
#ifdef SWIGJAVA
%typemap(javaimports) SWIGTYPE %{
import upm_interfaces.*;
%}
JAVA_JNI_LOADLIBRARY(javaupm_hcsr04)
#endif
/* END Java syntax */
/* BEGIN Common SWIG syntax ------------------------------------------------- */
%{
#include "hcsr04.hpp"
%}
%include "hcsr04.h"
%include "hcsr04.hpp"
/* END Common SWIG syntax */