Serban Waltter
2551596309
Added the JAVA_JNI_LOADLIBRARY macro for the jniclasscode pragma included in _upm.i for all java SWIG interface files.
2018-01-24 09:31:05 -08:00
Jon Trulson
c09ab37a59
mma7660: C implementation; FTI; C++ wraps C
...
Signed-off-by: Jon Trulson <jtrulson@ics.com >
2016-10-27 15:13:20 -06:00
Noel Eck
922e0cc26b
cpp_headers: Renamed C++ headers from .h -> .hpp
...
To make room for UPM C and C++ sensor code to coexist, all UPM
C++ headers have been renamed from h -> hpp. This commit contains
updates to documentation, includes, cmake collateral, examples, and
swig interface files.
* Renamed all cxx/cpp header files which contain the string
'copyright intel' from .h -> .hpp (if not already hpp).
* Replaced all references to .h with .hpp in documentation,
source files, cmake collateral, example code, and swig interface
files.
* Replaced cmake variable module_h with module_hpp.
* Intentionally left upm.h since this file currently does not
contain code (documentation only).
Signed-off-by: Noel Eck <noel.eck@intel.com >
2016-04-28 14:00:54 -07:00
Petre Eftime
2cd043c2a1
java: Use Runnables instead of IsrCallbacks in Java
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2016-01-28 13:42:38 -08:00
Petre Eftime
8273556539
java: fix Java IsrCallback crash
...
The director now uses a GlobalRef instead of a WeakRef to the IsrCallback object
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-12-21 16:03:51 -08:00
Stefan Andritoiu
dddba3e8a4
java: Added auto load library code in upm SWIG interfaces
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-11-24 14:36:17 -08:00
Andrei Vasiliu
a6f517d2c1
java: Enabled directors feature where needed
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-09-30 10:45:57 -07:00
Petre Eftime
428bac360b
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 >
2015-09-18 10:26:21 -07:00
Petre Eftime
45b83502a1
java: delete allocated array in JNI wrapper
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-09-04 13:50:40 -07:00
Petre
58846ba68a
java: fix Java return types in MMA7660
...
Signed-off-by: Petre <petre.p.eftime@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-09-04 13:49:42 -07:00
Stefan Andritoiu
19bcbc7c42
java: solved callbacks
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-09-04 13:48:59 -07:00
Stefan Andritoiu
78a159594b
java: solved SWIGTYPE_p_int and SWIGTYPE_p_float
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-09-04 13:48:11 -07:00
Stefan Andritoiu
7e2ae96c1f
Added Java support and bindings
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2015-08-13 16:25:54 -07:00