mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
java_interfaces: Moved ifdefs for swig version
Moved the SWIG version check from each sensor library .i file to the base SWIG .i file (per interface). This cleans up the number of #if SWIG_VERSION's across the code base, and will make cleanup of these easier at a later date. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -1,9 +1,7 @@
|
||||
%module(directors="1") javaupm_si1132
|
||||
%include "../upm.i"
|
||||
|
||||
#if SWIG_VERSION >= 0x030009
|
||||
%include "../interfaces/javaupm_iLightSensor.i"
|
||||
#endif
|
||||
|
||||
%pragma(java) jniclasscode=%{
|
||||
static {
|
||||
|
Reference in New Issue
Block a user