swig/Lib/go
Marvin Greenberg 843aa7cd65 Work around differences in clang libc++ std::vector<bool>::const_reference
clang++ using -stdlib=libc++ defines const_reference as a class,
to map boolean vectors onto a bit set.  Because swig does
not "see" the type as "const &" it generates incorrect code for this case,
generating a declaration like:

  const_reference result;

When const_reference is a typedef to 'bool' as is the case with stdlibc++
this works.  When this is actually a constant reference, this is clearly
invalid since it is not initialized.  For libc++, this is a class
which cannot be default constructed, resulting in an error.  The fix
is to explicitly define the various accessor extensions as having a
bool return type for this specialization.
2014-02-04 16:00:12 -05:00
..
cdata.i Update for Go 1.2 release. Add support for linking SWIG code directly 2013-12-16 19:50:17 -08:00
exception.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
go.swg [Go] Fix handling of C type "long" on 32-bit systems. It was broken 2014-01-27 17:49:35 -08:00
gokw.swg Fix std::map warning keyword hack in Go 2010-06-11 22:36:58 +00:00
goruntime.swg [Go] Add %go_import directive. 2014-01-21 11:27:09 -08: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 support for the Go programming language. 2010-06-10 01:13:31 +00:00
std_list.i Fix problems in Go support revealed by recent test cases. 2012-03-14 19:27:23 +00:00
std_map.i Fix std::map warning keyword hack in Go 2010-06-11 22:36:58 +00:00
std_pair.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
std_string.i std::string typemap modifications so they can be used with %apply for other string classes 2012-05-26 06:33:49 +00:00
std_vector.i Work around differences in clang libc++ std::vector<bool>::const_reference 2014-02-04 16:00:12 -05:00
stl.i Add support for the Go programming language. 2010-06-10 01:13:31 +00:00
typemaps.i Adjust typemaps.i for change in handling of reference to slice. 2012-10-02 14:53:13 +00:00