swig/Lib/go
Olly Betts 4ac3c87a29 Sort out predefined SWIG-specific macros
Ensure that SWIG_VERSION is defined both at SWIG-time and in the
generated C/C++ wrapper code (it was only defined in the wrapper
for some target languages previously).

SWIGGO and SWIGJAVASCRIPT are now defined in the generated wrappers
to match behaviour for all other target languages.

Stop defining SWIGVERSION in the wrapper.  This only happened as a
side-effect of how SWIG_VERSION was defined but was never documented and
is redundant.

The new testcase also checks that SWIG is defined at SWIG-time but not
in the generated wrapper, and that exactly one of a list of
target-language specific macros is defined.

Fixes #1050
2022-10-05 12:40:15 +13:00
..
cdata.i Warning fixes in Go cdata library 2015-02-11 23:34:16 +00:00
director.swg Go - use director.swg like other languages 2018-05-06 09:46:37 +01:00
exception.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
go.swg Sort out predefined SWIG-specific macros 2022-10-05 12:40:15 +13:00
gokw.swg Renames performed by %namewarn with rename= are printed in warning message 2022-02-06 13:51:37 -05:00
goruntime.swg [Go] Make -intgosize optional 2022-03-16 18:30:05 +13:00
gostring.swg [Go] Remove all generated calls to _swig_makegostring, as it will no 2015-02-05 10:15:37 -08:00
std_array.i Support std::array in Golang (#2045) 2022-01-04 12:12:56 +13:00
std_common.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
std_deque.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
std_except.i Add <typeinfo> header for std::bad_cast 2016-09-17 13:24:32 +02:00
std_list.i Add STL container copy constructors where missing 2019-02-14 18:53:05 +00:00
std_map.i Add STL container copy constructors where missing 2019-02-14 18:53:05 +00:00
std_pair.i Consistent parameter names for std::pair 2019-02-14 22:44:27 +00:00
std_string.i std::string throws typemaps 2022-09-19 09:09:29 +01:00
std_vector.i Add STL container copy constructors where missing 2019-02-14 18:53:05 +00:00
stl.i Create a consistent stl.i library file 2019-02-12 18:46:05 +00:00
swigmove.i Provide SWIGTYPE MOVE typemaps in swigmove.i 2022-09-16 08:36:25 +01:00
typemaps.i [Go] Remove all generated calls to _swig_makegostring, as it will no 2015-02-05 10:15:37 -08:00