William S Fulton
1e73045da8
Refactor Swig_cparse_template_parms_expand()
...
Break up functionality in Swig_cparse_template_parms_expand() to make it
more readable / maintainable.
2022-12-21 20:15:47 +00:00
Olly Betts
631b41ae7b
Use https for swig.org links
2022-10-06 13:16:39 +13:00
Olly Betts
6c4010e442
Resolve -Wstrict-prototypes warnings with clang-15
...
warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
2022-06-30 12:52:00 +12:00
William S Fulton
83ea2280e2
Fix Python compile errors with overloading and varargs
...
Fixes wrapping overloaded functions/constructors where a vararg
function is declared after a non-vararg function.
This is a long standing bug in the Python layer exposed since fastunpack
was turned on by default.
2019-02-25 19:27:23 +00:00
William S Fulton
7841a0d097
Remove cvs/svn Id strings
2013-01-12 01:21:16 +00:00
William S Fulton
421139a5fe
Fix some subtle named output typemap lookup misses, the fully qualified name was not always being in all cases such as member variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-11-13 22:16:28 +00:00
William S Fulton
cb64f65bae
SWIG license change - Source moves to GPLv3
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:53:33 +00:00
William S Fulton
b1ad69ade5
Fix -debug-tmsearch and -debug-tmused to show tthat the typemap came from a typemap copy or %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-05 23:24:47 +00:00
William S Fulton
83bd820285
Add typemaps used debugging option (-debug-tmused). Fix missing file/line numbers for typemap warnings and in the output from the -debug-tmsearch/-debug-tmused options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-04 19:33:52 +00:00
William S Fulton
57fff12d5f
Fix seg fault for some template parameters which have no type, just a default value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-03 19:52:12 +00:00
Haoyu Bai
6d2aef67d9
Replaced all [const] String_or_char * to const_String_or_char_ptr, by the following command:
...
sed -i "s/\(const \)\?String_or_char \*/const_String_or_char_ptr /g" CParse/* Include/* Modules/* Preprocessor/* Swig/*
This is a preparation for moving to new DOH, since for strong typed objects we need the const_String_or_char_ptr class to implicit convert to and from String * or const char *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-24 13:15:51 +00:00
Dave Beazley
b00cef436b
API cleanup (Parms)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-10 23:43:07 +00:00
Dave Beazley
c12550e4ad
API cleanup. Documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 05:23:20 +00:00
Dave Beazley
52dcbb9001
API cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-02 21:17:19 +00:00
Dave Beazley
264b7dff90
API cleanup. Documentation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-30 18:27:47 +00:00
Dave Beazley
7a826c8b6d
Changed Header keyword to Id for SVN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 21:57:44 +00:00
William S Fulton
aa04c4c057
beautify/format source code with gnu indent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton
7f74b8e7a3
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@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
55005e98ee
Move rename/namewarn engine from parser.y to naming.c. The code was getting
...
too large to be in the parser.
Centralize the swig keys to avoid replication and wrong spellings.
Use more HashGetAttr where possible and other speed improvements
to compensate for the extra work introduced by the new rename/namewarn
mechanism.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
cbca8a3e88
add 'self' attribute for later use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:26:37 +00:00
Marcelo Matus
f714a2615d
remove many memory leaks and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
628dc6b32b
add NewStringEmpty, use more StringEuqual and less Strcmp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
7a77a7feb9
several clean/speed ups
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:58:24 +00:00
William S Fulton
02f89c5610
New function for creating a parameter including the file and line information needed for correctly displaying warnings in typemaps (to show relevant file and line)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:34:34 +00:00
Marcelo Matus
7695ffc594
fix several memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
1b7e795c03
add Deletes where needed, to reduce memory use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 08:48:22 +00:00
William S Fulton
17f6328b8a
Common default argument code factored into functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:10:20 +00:00
William S Fulton
74f9ab820b
compact default arguments feature (original default argument wrapping mode)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
William S Fulton
10c00a9e45
New default arg wrapping support method added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:22:35 +00:00
William S Fulton
b0df32dd1a
Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
...
const fixes and function prototype declarations matching the definition etc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 22:46:07 +00:00
William S Fulton
a562a53bcb
Java directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:26:29 +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
Dave Beazley
0d5ed7dff5
Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:09:56 +00:00
Dave Beazley
dae32de1c5
Converted parameter lists to linked lists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 18:37:30 +00:00
Dave Beazley
5c7d202825
Started the (most painful) process of dropping type attributes behind a function call interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-25 04:02:31 +00:00
Dave Beazley
e036e895d3
Cleanup. Replaced Parm and ParmList data structures with new implementation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 21:48:56 +00:00