kopia lustrzana https://github.com/Hamlib/Hamlib
Leave off multiply 'typedef const char * const_char_string' definition (in rig.swg and rotator.swg)
rodzic
c7476de364
commit
cef8c2d157
|
@ -83,6 +83,10 @@
|
||||||
%include <hamlib/rotlist.h>
|
%include <hamlib/rotlist.h>
|
||||||
%include <hamlib/rotator.h>
|
%include <hamlib/rotator.h>
|
||||||
|
|
||||||
|
%inline {
|
||||||
|
typedef const char * const_char_string;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The Rig "class"
|
* The Rig "class"
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,7 +30,6 @@ typedef struct Rig {
|
||||||
} Rig;
|
} Rig;
|
||||||
|
|
||||||
typedef char * char_string;
|
typedef char * char_string;
|
||||||
typedef const char * const_char_string;
|
|
||||||
typedef channel_t * channel_t_p;
|
typedef channel_t * channel_t_p;
|
||||||
typedef channel_t * const_channel_t_p;
|
typedef channel_t * const_channel_t_p;
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,6 @@ typedef struct Rot {
|
||||||
int do_exception;
|
int do_exception;
|
||||||
} Rot;
|
} Rot;
|
||||||
|
|
||||||
typedef const char * const_char_string;
|
|
||||||
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue