Fix headers for compability with swig 4.3.0

https://github.com/Hamlib/Hamlib/issues/1669
pull/1688/head
Michael Black W9MDB 2025-03-22 14:45:32 -05:00
rodzic 1049dc2457
commit ad20668c75
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -32,7 +32,7 @@
// With a max of 1000 models per backend we get total a model number range of 1001-33001
// This MAX was 100 prior to 2020-02-18 and Icom was close to running out of the 100 range
#define MAX_MODELS_PER_BACKEND 1000
#define RIG_MAKE_MODEL(a,b) ((a)*MAX_MODELS_PER_BACKEND+(b))
#define RIG_MAKE_MODEL(a,b) (MAX_MODELS_PER_BACKEND*(a)+(b))
#define RIG_BACKEND_NUM(a) ((a)/MAX_MODELS_PER_BACKEND)
//! @endcond

Wyświetl plik

@ -24,7 +24,7 @@
#define _ROTLIST_H 1
//! @cond Doxygen_Suppress
#define ROT_MAKE_MODEL(a,b) ((a)*100+(b))
#define ROT_MAKE_MODEL(a,b) (100*(a)+(b))
#define ROT_BACKEND_NUM(a) ((a)/100)
//! @endcond