mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
2jciebu01: remove attribute specifier from common header and update swig interfaces
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
9cddd4a8b1
commit
d256a225bf
@ -1,8 +1,22 @@
|
||||
#ifdef SWIGPYTHON
|
||||
%module (package="upm") 2jciebu01_ble
|
||||
#endif
|
||||
|
||||
%include "../common_top.i"
|
||||
|
||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||
#ifdef SWIGJAVA
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_2jciebu01_ble)
|
||||
#endif
|
||||
/* END Java syntax */
|
||||
|
||||
/* BEGIN Common SWIG syntax ------------------------------------------------- */
|
||||
%{
|
||||
#include "2jciebu01_ble.hpp"
|
||||
#include "2jciebu01.hpp"
|
||||
%}
|
||||
|
||||
%include "2jciebu01_ble.hpp"
|
||||
%include "2jciebu01.hpp"
|
||||
|
||||
/* END Common SWIG syntax */
|
||||
|
@ -137,7 +137,7 @@ public :
|
||||
int16_t eCO2;
|
||||
int16_t discomfort_index;
|
||||
int16_t heat_stroke;
|
||||
} __attribute__((packed))om2jciebuData_t;
|
||||
} om2jciebuData_t;
|
||||
|
||||
/**
|
||||
* OM2JCIEBU destructor
|
||||
|
@ -1,8 +1,22 @@
|
||||
#ifdef SWIGPYTHON
|
||||
%module (package="upm") 2jciebu01_usb
|
||||
#endif
|
||||
|
||||
%include "../common_top.i"
|
||||
|
||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||
#ifdef SWIGJAVA
|
||||
JAVA_JNI_LOADLIBRARY(javaupm_2jciebu01_usb)
|
||||
#endif
|
||||
/* END Java syntax */
|
||||
|
||||
/* BEGIN Common SWIG syntax ------------------------------------------------- */
|
||||
%{
|
||||
#include "2jciebu01_usb.hpp"
|
||||
#include "2jciebu01.hpp"
|
||||
%}
|
||||
|
||||
%include "2jciebu01_usb.hpp"
|
||||
%include "2jciebu01.hpp"
|
||||
|
||||
/* END Common SWIG syntax */
|
||||
|
Loading…
x
Reference in New Issue
Block a user