kopia lustrzana https://github.com/Hamlib/Hamlib
Check SWIG string functions for some languages
rodzic
10fc2c295b
commit
c7476de364
|
@ -52,8 +52,10 @@
|
|||
%apply double *OUTPUT { double *longitude, double *latitude };
|
||||
%apply char *OUTPUT { char *locator_res };
|
||||
|
||||
#ifndef SWIG_CSTRING_UNIMPL
|
||||
/* longlat2locator */
|
||||
%cstring_bounded_output(char *locator_res, 13)
|
||||
#endif
|
||||
|
||||
%immutable confparams::name;
|
||||
%immutable confparams::label;
|
||||
|
|
|
@ -225,7 +225,9 @@ typedef channel_t * const_channel_t_p;
|
|||
*/
|
||||
%extend Rig {
|
||||
|
||||
#ifndef SWIG_CSTRING_UNIMPL
|
||||
%cstring_bounded_output(char *returnstr, MAX_RETURNSTR);
|
||||
#endif
|
||||
|
||||
Rig(int rig_model) {
|
||||
Rig *r;
|
||||
|
|
Ładowanie…
Reference in New Issue