Commit graph

20 commits

Author SHA1 Message Date
luz.paz
6f69830321 follow-up typos 2018-05-17 10:26:00 -04:00
William S Fulton
cd04b372a4 Consistent memory intiailization between C and C++ in typemaps
Remove unnecessary initialization via calloc calls and replace with
malloc.
2015-07-30 20:20:38 +01:00
William S Fulton
c7da8bb06e Warning fixes in generated Java code for 64bit Visual C++ on Windows. 2015-07-03 20:59:24 +01:00
William S Fulton
1773726073 Doc/comment improvements in Java various.i 2014-08-04 19:22:02 +01:00
Yuval Kashtan
093fe2a556 Add support for java.nio.Buffer
including test-suite test case and documentation
2014-07-18 15:45:16 +03:00
Gavin Kinsey
43032339d0 Fixed a memory leak for java STRING_ARRAY
The allocation loop uses size, so the free loop should do the same,
not size-1.
2013-09-20 18:44:44 +01:00
William S Fulton
d9393bc22a Fix possible uninitialised memory access in char **STRING_OUT typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-11 23:13:55 +00:00
William S Fulton
0ebcf05637 Fix uninitialised size variable in char **STRING_ARRAY regression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-11 23:13:35 +00:00
William S Fulton
a0e21e82ca char **STRING_ARRAY typemaps fixed to handle null pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:29:23 +00:00
William S Fulton
24133bacd7 Remove numerous hard coded 'result' variable name in generated c/c++ wrappers. The variable name is now defined in just one place, making it possible to change the name easily if a target language so wishes - see cwrap.c.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-10-30 21:51:50 +00:00
William S Fulton
4308dd03cf SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:26:02 +00:00
William S Fulton
7743ae3973 remove unnecessary variable int the char **STRING_ARRAY out typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 20:49:10 +00:00
William S Fulton
49be05f4fd Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:14:10 +00:00
William S Fulton
a0bdbf50a7 Correct memory allocation for STRINGARRAY
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:18:02 +00:00
William S Fulton
f31537e62d Put STRING_OUT typemaps back in.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:02:03 +00:00
William S Fulton
4b317678e5 Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
7ee01311b2 typemap name changes:
inv => directorin
outv => directorout
argoutv => directorargout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
eeca9ccf6a directorin typemap renamed javadirectorin
directorout typemap renamed javadirectorout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:13:19 +00:00
William S Fulton
c8d535b30b Directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:12:20 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00