java: removed commented code in SWIG interface files

Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Stefan Andritoiu 2015-11-06 13:29:22 +02:00 committed by Mihai Tudor Panu
parent ba43986f82
commit f8a105adbf
4 changed files with 0 additions and 4 deletions

View File

@ -16,7 +16,6 @@
%typemap(out) float * {
$result = JCALL1(NewFloatArray, jenv, 3);
JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
//delete [] $1;
}

View File

@ -16,7 +16,6 @@
%typemap(out) int16_t *coordinates {
$result = JCALL1(NewShortArray, jenv, 3);
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
//delete [] $1;
}
%include "hmc5883l.h"

View File

@ -30,7 +30,6 @@
%typemap(out) int16_t *getRawValues {
$result = JCALL1(NewShortArray, jenv, 3);
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
//delete [] $1;
}
%include "itg3200.h"

View File

@ -16,7 +16,6 @@
%typemap(out) int16_t *getRawAccelData {
$result = JCALL1(NewShortArray, jenv, 3);
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
//delete [] $1;
}
%include "lsm303.h"