ext/wxruby3/swig/custom/rubyapi.swg in wxruby3-1.3.0 vs ext/wxruby3/swig/custom/rubyapi.swg in wxruby3-1.3.1

- old
+ new

@@ -10,10 +10,24 @@ #ifdef __cplusplus extern "C" { #endif WXRUBY_EXPORT VALUE -SWIG_Ruby_AppendOutput(VALUE target, VALUE o); +SWIG_wxRuby_AppendOutput(VALUE target, VALUE o, int is_void); #ifdef __cplusplus } #endif + +/* SWIG >= 4.3.0 version */ +inline VALUE +SWIG_Ruby_AppendOutput(VALUE target, VALUE o, int is_void) +{ + return SWIG_wxRuby_AppendOutput(target, o, is_void); +} + +/* SWIG < 4.3.0 version */ +inline VALUE +SWIG_Ruby_AppendOutput(VALUE target, VALUE o) +{ + return SWIG_wxRuby_AppendOutput(target, o, -1); +}