kopia lustrzana https://github.com/Hamlib/Hamlib
Move/add %immutable in their files
Makes the other files less dependent on being included by hamlib.swg and more self-contained. Also drop the symbols that are ignored.pull/1726/head
rodzic
48c40dc326
commit
bca1d80d20
|
@ -23,6 +23,11 @@
|
||||||
#include <hamlib/amplifier.h>
|
#include <hamlib/amplifier.h>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%immutable amp_caps::model_name;
|
||||||
|
%immutable amp_caps::mfg_name;
|
||||||
|
%immutable amp_caps::version;
|
||||||
|
%immutable amp_caps::copyright;
|
||||||
|
|
||||||
%include <hamlib/amplist.h>
|
%include <hamlib/amplist.h>
|
||||||
%include <hamlib/amplifier.h>
|
%include <hamlib/amplifier.h>
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,17 @@
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* symbols that shouldn't be changed
|
||||||
|
*/
|
||||||
|
%immutable clone_combo_get;
|
||||||
|
%immutable clone_combo_set;
|
||||||
|
%immutable confparams::dflt;
|
||||||
|
%immutable confparams::label;
|
||||||
|
%immutable confparams::name;
|
||||||
|
%immutable confparams::tooltip;
|
||||||
|
%immutable cs;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* symbols that won't be wrapped
|
* symbols that won't be wrapped
|
||||||
*/
|
*/
|
||||||
|
@ -197,26 +208,6 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
%immutable confparams::name;
|
|
||||||
%immutable confparams::label;
|
|
||||||
%immutable confparams::tooltip;
|
|
||||||
%immutable confparams::dflt;
|
|
||||||
%immutable cs;
|
|
||||||
%immutable rig_caps::model_name;
|
|
||||||
%immutable rig_caps::mfg_name;
|
|
||||||
%immutable rig_caps::version;
|
|
||||||
%immutable rig_caps::copyright;
|
|
||||||
%immutable hamlib_version2;
|
|
||||||
%immutable hamlib_copyright2;
|
|
||||||
|
|
||||||
%immutable clone_combo_set;
|
|
||||||
%immutable clone_combo_get;
|
|
||||||
|
|
||||||
%immutable rot_caps::model_name;
|
|
||||||
%immutable rot_caps::mfg_name;
|
|
||||||
%immutable rot_caps::version;
|
|
||||||
%immutable rot_caps::copyright;
|
|
||||||
|
|
||||||
%include <hamlib/rig_dll.h>
|
%include <hamlib/rig_dll.h>
|
||||||
|
|
||||||
%inline {
|
%inline {
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
#include <hamlib/rig.h>
|
#include <hamlib/rig.h>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%immutable rig_caps::model_name;
|
||||||
|
%immutable rig_caps::mfg_name;
|
||||||
|
%immutable rig_caps::version;
|
||||||
|
%immutable rig_caps::copyright;
|
||||||
|
|
||||||
%include <hamlib/riglist.h>
|
%include <hamlib/riglist.h>
|
||||||
%include <hamlib/rig.h>
|
%include <hamlib/rig.h>
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
#include <hamlib/rotator.h>
|
#include <hamlib/rotator.h>
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
%immutable rot_caps::model_name;
|
||||||
|
%immutable rot_caps::mfg_name;
|
||||||
|
%immutable rot_caps::version;
|
||||||
|
%immutable rot_caps::copyright;
|
||||||
|
|
||||||
%include <hamlib/rotator.h>
|
%include <hamlib/rotator.h>
|
||||||
%include <hamlib/rotlist.h>
|
%include <hamlib/rotlist.h>
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue