swig/Lib
Vadim Zeitlin cdf1ba9120 Don't accept strings too long to fit in char[N] with trailing NUL.
It was previously possible to assign "hello" to a variable backed by char[5]
storage in C, and the array contained the correct character data but without
the trailing NUL, which was unexpected in C.

This is not allowed any more, only "helo" can fit into a char[5] now and
anything else fails the type check, just as it already happened for the longer
strings before.

Closes #122
2013-12-23 21:13:25 +00:00
..
allegrocl Merge branch 'master' into gsoc2009-matevz 2013-01-28 07:01:37 +00:00
cffi Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
chicken Merge branch 'master' into gsoc2009-matevz 2013-01-28 07:01:37 +00:00
clisp merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
csharp Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
d Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
gcj merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
go Remove Go -longsize option. 2013-12-17 17:37:55 -08:00
guile Remove a couple of unused variable warnings in generated code 2013-10-18 19:10:42 +01:00
java Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
lua Bug fix (typo - "wchar" instead of "wchar_t") 2013-12-12 16:53:23 +13:00
modula3 Add rvalue reference typemaps 2013-01-24 20:27:28 +00:00
mzscheme Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
ocaml Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
octave Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
perl5 Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
php Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
pike Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
python Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
r Fix Visual Studio compile error in C++ wrappers due to #include <exception> within extern "C" block. 2013-10-17 21:54:58 +01:00
ruby Error out attempting to use directors without -c++ 2013-12-23 20:23:54 +00:00
std C++11 support for new versions of erase and insert in the STL containers. 2013-12-22 19:52:55 +00:00
tcl Merge branch 'master' into gsoc2009-matevz 2013-10-10 07:26:09 +01:00
typemaps Don't accept strings too long to fit in char[N] with trailing NUL. 2013-12-23 21:13:25 +00:00
uffi merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
xml delete the perl5 typemaps, ignored here 2006-01-05 19:34:51 +00:00
allkw.swg Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
attribute.i Fix %arg in Lib/attribute.i 2013-05-25 00:37:57 +01:00
carrays.i Fix constructors in named typedef class declarations 2011-08-25 19:27:38 +00:00
cdata.i Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02:00
cmalloc.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
constraints.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
cpointer.i Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby 2011-12-21 22:01:27 +00:00
cstring.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
cwstring.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
exception.i Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02:00
intrusive_ptr.i Convert to unix fileformat 2013-01-12 16:54:37 +00:00
inttypes.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
linkruntime.c fix macro issue reported by Vladimir Menshakov 2006-04-10 19:00:44 +00:00
math.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
pointer.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
runtime.swg fix VC++ warning 2005-09-29 13:17:05 +00:00
shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_except.i Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
stdint.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
stl.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swig.swg Merge branch 'nested' - nested structs/classes support 2013-12-14 15:12:07 +00:00
swigarch.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swigerrors.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swiginit.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swiglabels.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swigrun.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swigrun.swg Remove trailing spaces in the generated code. 2013-09-13 10:02:39 +02:00
swigwarnings.swg Rework std::initializer_list handling to warn about usage in any method, not just constructors. A typemap is used to issue the warning and can be overridden with user defined behaviour. 2013-02-04 20:03:22 +00:00
wchar.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
windows.i merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00