mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
mma7660: free resources in JNI wrapper
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
a0518976c6
commit
428bac360b
@ -41,6 +41,7 @@
|
|||||||
%typemap(out) int *getRawValues {
|
%typemap(out) int *getRawValues {
|
||||||
$result = JCALL1(NewIntArray, jenv, 3);
|
$result = JCALL1(NewIntArray, jenv, 3);
|
||||||
JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
JCALL4(SetIntArrayRegion, jenv, $result, 0, 3, (const signed int*)$1);
|
||||||
|
delete [] $1;
|
||||||
}
|
}
|
||||||
|
|
||||||
%ignore getRawValues(int *, int *, int *);
|
%ignore getRawValues(int *, int *, int *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user