Commit graph

4,176 commits

Author SHA1 Message Date
William S Fulton
ee02102626 variable name 'in' is a c# keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:43:39 +00:00
William S Fulton
3a34297cef SWIG_exception mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:42:00 +00:00
William S Fulton
effe88404d Stop using SWIG_exception. It is flawed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:33:32 +00:00
William S Fulton
1abc5c131b C# and Java SWIG_exception changes. Previous mods didn't work with compilers that can't handle empty macro parameters. Now SWIG_exception will only work in typemaps using {} delimeters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:27:33 +00:00
William S Fulton
0ecab92aaf SWIG_exception changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:24:18 +00:00
William S Fulton
2aae38d3c0 Support for the null attribute in the out typemap to support return by value struct types
SWIG_exception changes


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:23:17 +00:00
Marcelo Matus
a923a51bd6 add string case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-19 17:33:00 +00:00
Marcelo Matus
877535badf add set __getitem__ method, this allows python iterator syntax to work, as in 'for i in a_set:...'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-19 09:36:08 +00:00
Marcelo Matus
43bdb55a63 add runtime test for li_cstring
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 16:46:53 +00:00
Surendra Singhi
ddbf9045c2 Added documentation for few array type related API functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:26:19 +00:00
Surendra Singhi
9ac7b9ab5e Now only basic types are provided, and changed the name "ffitype" to "in. We now do recursive type conversion in clisp.cxx so no need to provide pointer and array types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:23:41 +00:00
Surendra Singhi
d7eddd4dca Added support for recursive types. Now handles extern keyword, and there is a new option which allows to generate wrapper for either all functions and variables or only externed ones. Now, automatically adds function names to "defpackage" so that they are exported.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:17:49 +00:00
Matthias Köppe
bba6f8ba76 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-16 12:22:22 +00:00
Matthias Köppe
5c49f23dfc Use *swig-identifier-converter*.
Derive proper foreign types for all pointer types rather than using (*
:void).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-16 12:18:37 +00:00
Marcelo Matus
1417650709 fix for #1233773
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-15 21:23:40 +00:00
Surendra Singhi
7645869eda Defpackage now exports all the functions. This is done by storing the various functions names in a list and then at the end writing it to the top of output file by pushing the rest of the contents down.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-15 04:32:49 +00:00
Surendra Singhi
84ac0f6c9c Fixed comments and "ffi" package name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-14 04:23:58 +00:00
Matthias Köppe
7cee16c01e Make several helper functions "static".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 11:35:55 +00:00
Surendra Singhi
a3d45a73d6 Added clisp module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:05:49 +00:00
Surendra Singhi
36e593dfa4 Added clisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:04:19 +00:00
Surendra Singhi
ccca3c012e Initial revision for clisp support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:03:21 +00:00
Marcelo Matus
83ef5241ee add Scott's patches for directors: void return, directormap register, better error messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-06 21:02:22 +00:00
William S Fulton
06adaed870 fix extern declarations documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:32:46 +00:00
William S Fulton
62552082be corrections for new variable function wrapper names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:17:11 +00:00
William S Fulton
c47c930f59 fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
William S Fulton
c838d83d2c new test to test windows calling conventions with extern functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 21:15:55 +00:00
William S Fulton
45df1dfa20 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:40:41 +00:00
William S Fulton
cff2f67179 The default is now to not generate an additional method declaration when a method is declared with an extern. Use -addextern option to recreate original behaviour (new commandline option), with -noextern now redundant.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
William S Fulton
f93247e21f fix for new member variable function names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:57:05 +00:00
William S Fulton
ad82d61fe6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:55:18 +00:00
William S Fulton
81d0a6da18 %extend member variable test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:46:51 +00:00
William S Fulton
d1af1d070e %extend member variable test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:39:45 +00:00
William S Fulton
8eb7e528b0 Make variable accessor functions the same across all modules for %extend with member variables to work consistently across all language modules and as documented. Use -oldvarnames commandline option to get the original variable names.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:30:14 +00:00
Marcelo Matus
233f1ab7e6 change the Int/Long check order, just in case since 'int' could be too permissive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-21 18:55:43 +00:00
Marcelo Matus
a83919ab69 remove the _AS_XX macros, just in case the Check methods are too permissive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-21 18:52:04 +00:00
William S Fulton
989b4fdbf9 remove last change. It is not valid bourne shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-20 20:28:05 +00:00
William S Fulton
e82c75028f named link added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-20 20:11:01 +00:00
William S Fulton
6ec8719c52 improved struct pointer pointer example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-20 20:10:31 +00:00
Marcelo Matus
a719d94031 fix for #1205859
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:28:38 +00:00
Marcelo Matus
45fb27f977 fix for #1205859
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:04:30 +00:00
William S Fulton
ed286236f3 Struct pointer to pointer output parameter example added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 23:57:40 +00:00
Marcelo Matus
11b935315a fix for long long types and old Tcl versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 23:15:51 +00:00
William S Fulton
71011d09a9 more patches for dodgy gcc-2.96 compiler from Hugo van der Sanden
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 20:31:08 +00:00
Marcelo Matus
d2139b5b59 more fixes for python 1.5.2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:23:16 +00:00
Marcelo Matus
327bbc06ac more fixes for python 1.5 +gcc2.96
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:12:21 +00:00
Marcelo Matus
f22165de7a allows to set PYLIBDIR externally
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 18:48:43 +00:00
Marcelo Matus
50557fb547 more fixes for 1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 01:41:22 +00:00
Marcelo Matus
bd4b9c20ce add infinity loop case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 01:10:10 +00:00
Marcelo Matus
92f11f6c3e fix infinity loop #1209289
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 00:46:10 +00:00
Marcelo Matus
34fbd3d9ae fix error 1221362
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 00:22:12 +00:00