kopia lustrzana https://github.com/Hamlib/Hamlib
Remove deprecated functions and methods from the bindings
rodzic
6dec579144
commit
19dce9dc32
|
@ -5,6 +5,7 @@
|
|||
%rename("$ignore", regexmatch$name="^AMP_") "";
|
||||
%rename("$ignore", regexmatch$name="^RIG_") "";
|
||||
%rename("$ignore", regexmatch$name="^ROT_") "";
|
||||
%rename("$ignore", regexmatch$name="deprecated") "";
|
||||
|
||||
// re-add useful defines
|
||||
|
||||
|
@ -86,6 +87,7 @@
|
|||
%rename("$ignore", regexmatch$name="^amp_", %$isfunction) "";
|
||||
%rename("$ignore", regexmatch$name="^rig_", %$isfunction) "";
|
||||
%rename("$ignore", regexmatch$name="^rot_", %$isfunction) "";
|
||||
|
||||
// re-add some methods
|
||||
%rename("%s") rig_set_debug;
|
||||
%rename("%s", regexmatch$name="^rig_str", %$isfunction) "";
|
||||
|
@ -111,7 +113,9 @@
|
|||
%ignore PRIfreq;
|
||||
%ignore SCNfreq;
|
||||
|
||||
// others
|
||||
%rename("$ignore", regexmatch$name="python_callbacks") ""; // internal structs and methods used by bindings
|
||||
%ignore rig_state::cache; // deprecated
|
||||
|
||||
#ifdef SWIGLUA
|
||||
%ignore Rig::set_level(setting_t,int,vfo_t);
|
||||
|
|
|
@ -52,7 +52,6 @@ class TestClass:
|
|||
'multicast_s',
|
||||
'netrigctl_get_vfo_mode',
|
||||
'qrb',
|
||||
'rig_cache_deprecated',
|
||||
'rig_callbacks',
|
||||
'rig_caps',
|
||||
'rig_set_debug',
|
||||
|
@ -60,7 +59,6 @@ class TestClass:
|
|||
'rig_spectrum_line',
|
||||
'rig_spectrum_scope',
|
||||
'rig_state',
|
||||
'rig_state_deprecated',
|
||||
'rig_stragclevel',
|
||||
'rig_strcommstatus',
|
||||
'rig_strfunc',
|
||||
|
|
Ładowanie…
Reference in New Issue