diff --git a/bindings/hamlib.swg b/bindings/hamlib.swg index 9975966ce..b277b1343 100644 --- a/bindings/hamlib.swg +++ b/bindings/hamlib.swg @@ -42,6 +42,9 @@ %include typemaps.i %include exception.i %include cstring.i +#ifdef SWIGPYTHON +%include python/file.i +#endif %apply double *OUTPUT { double *distance, double *azimuth }; %apply int *OUTPUT { int *degrees, int *minutes, double *seconds, int *sw }; diff --git a/bindings/ignore.swg b/bindings/ignore.swg index 7247fc5a0..42d108395 100644 --- a/bindings/ignore.swg +++ b/bindings/ignore.swg @@ -1,5 +1,4 @@ /* unsupported Hamlib's calls */ -%ignore rig_debug; /* useless macros */ %ignore _RIG_H;