mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
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:
parent
ba43986f82
commit
f8a105adbf
@ -16,7 +16,6 @@
|
|||||||
%typemap(out) float * {
|
%typemap(out) float * {
|
||||||
$result = JCALL1(NewFloatArray, jenv, 3);
|
$result = JCALL1(NewFloatArray, jenv, 3);
|
||||||
JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
|
JCALL4(SetFloatArrayRegion, jenv, $result, 0, 3, $1);
|
||||||
//delete [] $1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
%typemap(out) int16_t *coordinates {
|
%typemap(out) int16_t *coordinates {
|
||||||
$result = JCALL1(NewShortArray, jenv, 3);
|
$result = JCALL1(NewShortArray, jenv, 3);
|
||||||
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
||||||
//delete [] $1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%include "hmc5883l.h"
|
%include "hmc5883l.h"
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
%typemap(out) int16_t *getRawValues {
|
%typemap(out) int16_t *getRawValues {
|
||||||
$result = JCALL1(NewShortArray, jenv, 3);
|
$result = JCALL1(NewShortArray, jenv, 3);
|
||||||
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
||||||
//delete [] $1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%include "itg3200.h"
|
%include "itg3200.h"
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
%typemap(out) int16_t *getRawAccelData {
|
%typemap(out) int16_t *getRawAccelData {
|
||||||
$result = JCALL1(NewShortArray, jenv, 3);
|
$result = JCALL1(NewShortArray, jenv, 3);
|
||||||
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
JCALL4(SetShortArrayRegion, jenv, $result, 0, 3, (jshort*)$1);
|
||||||
//delete [] $1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%include "lsm303.h"
|
%include "lsm303.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user