Selaa lähdekoodia

swig: rename funcs that caused overload errors in python for hmtrp, wt5001

Signed-off-by: Zion Orent <zorent@ics.com>
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
Zion Orent 9 vuotta sitten
vanhempi
commit
66aaa97955
2 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 3
    0
      src/hmtrp/pyupm_hmtrp.i
  2. 5
    0
      src/wt5001/pyupm_wt5001.i

+ 3
- 0
src/hmtrp/pyupm_hmtrp.i Näytä tiedosto

@@ -6,6 +6,9 @@
6 6
 %include "../carrays_uint16_t.i"
7 7
 %include "../carrays_uint32_t.i"
8 8
 
9
+%rename("getModSignalStrengthNoParam")  getModSignalStrength();
10
+%rename("getRFSignalStrengthNoParam") getRFSignalStrength();
11
+
9 12
 %feature("autodoc", "3");
10 13
 
11 14
 %include "hmtrp.h"

+ 5
- 0
src/wt5001/pyupm_wt5001.i Näytä tiedosto

@@ -5,6 +5,11 @@
5 5
 %include "../carrays_uint8_t.i"
6 6
 %include "../carrays_uint16_t.i"
7 7
 
8
+%rename("getVolumeNoParam")  getVolume();
9
+%rename("getPlayStateNoParam") getPlayState();
10
+%rename("getNumFilesOneParam")  getNumFiles(WT5001_PLAYSOURCE_T psrc);
11
+%rename("getCurrentFileNoParam") getCurrentFile();
12
+
8 13
 %feature("autodoc", "3");
9 14
 
10 15
 %{