diff --git a/bindings/hamlib.swg b/bindings/hamlib.swg index 35a4f9f20..ffc4f6986 100644 --- a/bindings/hamlib.swg +++ b/bindings/hamlib.swg @@ -83,6 +83,10 @@ %include %include +%inline { +typedef const char * const_char_string; +} + /* * The Rig "class" */ diff --git a/bindings/rig.swg b/bindings/rig.swg index 8d43110ee..f54b98446 100644 --- a/bindings/rig.swg +++ b/bindings/rig.swg @@ -30,7 +30,6 @@ typedef struct Rig { } Rig; typedef char * char_string; -typedef const char * const_char_string; typedef channel_t * channel_t_p; typedef channel_t * const_channel_t_p; diff --git a/bindings/rotator.swg b/bindings/rotator.swg index 9e14e0797..544d98d8f 100644 --- a/bindings/rotator.swg +++ b/bindings/rotator.swg @@ -29,8 +29,6 @@ typedef struct Rot { int do_exception; } Rot; -typedef const char * const_char_string; - %} /*