java: solved unclean Java bindings for: htu21d, ozw
MODIFY
src/htu21d/javaupm_htu21d.i
src/htu21d/javaupm_htu21d.i
%module javaupm_htu21d
%include "../upm.i"
+%include "typemaps.i"
+
+%apply float *OUTPUT {float *fHum};
+%apply float *OUTPUT {float *fHumTemp};
+%apply float *OUTPUT {float *fDewPt};
+%inline %{
+ extern int getHumidityData(float* fHum, float* fHumTemp, float* fDewPt);
+%}
%{
#include "htu21d.hpp"

MODIFY
src/ozw/javaupm_ozw.i
src/ozw/javaupm_ozw.i
%include "arrays_java.i";
%include "../java_buffer.i"
+%apply unsigned char *OUTPUT { uint8_t *val };
+
+%inline %{
+ extern void setValueAsBytes(int nodeId, int index, uint8_t *val, uint8_t len);
+%}
+
%include "ozw.hpp"
%{
#include "ozw.hpp"

java: solved unclean Java bindings for: htu21d, ozw

Signed-off-by: Bogdan Ichim <bogdan.ichim@rinftech.com>
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com>