Commit graph

4,185 commits

Author SHA1 Message Date
William S Fulton
bef794d8cf *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:29:12 +00:00
William S Fulton
740175eeb0 use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:28:54 +00:00
William S Fulton
49639577e0 use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
4de8453fdc remove duplicate csout typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-25 21:05:58 +00:00
Surendra Singhi
77f1d0010e Fixed the double float type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 07:06:31 +00:00
Surendra Singhi
6b543a67b6 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 05:49:25 +00:00
Surendra Singhi
fa996e1f9e Added support for pointer to functions. Added support for typedefs and a option which will allow to generate "def-c-type" for typedefs.
Joerg Hoehle suggested that while declaring arrays "c-ptr" should be used.
Changed the name of generate-all option to extern-all.
Now declaring pointers to integers, short, float and double as c-ptr instead of c-pointer.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 05:34:11 +00:00
William S Fulton
b20ede113f no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:50:48 +00:00
William S Fulton
f2869c5565 null attribute support in out typemap for $null special variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:50:31 +00:00
William S Fulton
663cd0dfb9 variable name 'in' is a c# keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:43:39 +00:00
William S Fulton
b5fa5ee26f SWIG_exception mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:42:00 +00:00
William S Fulton
c563916ddb Stop using SWIG_exception. It is flawed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:33:32 +00:00
William S Fulton
14dd70ca4f 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@7342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:27:33 +00:00
William S Fulton
8c9a2885e8 SWIG_exception changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:24:18 +00:00
William S Fulton
2390eebd4f 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@7340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:23:17 +00:00
Marcelo Matus
4a789f7409 add string case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-19 17:33:00 +00:00
Marcelo Matus
c9f4d68f96 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@7338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-19 09:36:08 +00:00
Marcelo Matus
d54c46fed2 add runtime test for li_cstring
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 16:46:53 +00:00
Surendra Singhi
1eafeed451 Added documentation for few array type related API functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:26:19 +00:00
Surendra Singhi
151913f03f 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@7335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:23:41 +00:00
Surendra Singhi
f027a4169a 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@7334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-18 06:17:49 +00:00
Matthias Köppe
5b154e5c6e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-16 12:22:22 +00:00
Matthias Köppe
81486b9fe0 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@7332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-16 12:18:37 +00:00
Marcelo Matus
9148f0cb38 fix for #1233773
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-15 21:23:40 +00:00
Surendra Singhi
b82b18ac9b 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@7330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-15 04:32:49 +00:00
Surendra Singhi
9ed6525482 Fixed comments and "ffi" package name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-14 04:23:58 +00:00
Matthias Köppe
606a9ba1e3 Make several helper functions "static".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 11:35:55 +00:00
Surendra Singhi
2a459a04bd Added clisp module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:05:49 +00:00
Surendra Singhi
c0b24f8b34 Added clisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:04:19 +00:00
Surendra Singhi
b2427b7d4a Initial revision for clisp support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-13 08:03:21 +00:00
Marcelo Matus
c66b71417c add Scott's patches for directors: void return, directormap register, better error messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-06 21:02:22 +00:00
William S Fulton
3a1bdbed1f fix extern declarations documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:32:46 +00:00
William S Fulton
be192ba08b corrections for new variable function wrapper names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:17:11 +00:00
William S Fulton
7022f2091e fix extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-28 21:14:24 +00:00
William S Fulton
b62e405d4b new test to test windows calling conventions with extern functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 21:15:55 +00:00
William S Fulton
7b8172040b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:40:41 +00:00
William S Fulton
11dc59b22e 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@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
William S Fulton
4950f242ed fix for new member variable function names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:57:05 +00:00
William S Fulton
014287133d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:55:18 +00:00
William S Fulton
0e588cf149 %extend member variable test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:46:51 +00:00
William S Fulton
a365332c97 %extend member variable test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:39:45 +00:00
William S Fulton
0edd1dee4d 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@7313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-23 20:30:14 +00:00
Marcelo Matus
bba18606ea 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@7312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-21 18:55:43 +00:00
Marcelo Matus
a663b62852 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@7311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-21 18:52:04 +00:00
William S Fulton
975da1eb23 remove last change. It is not valid bourne shell.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-20 20:28:05 +00:00
William S Fulton
bb5ea0fd92 named link added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-20 20:11:01 +00:00
William S Fulton
2ac9878ed5 improved struct pointer pointer example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-20 20:10:31 +00:00
Marcelo Matus
f5bcace78c fix for #1205859
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:28:38 +00:00
Marcelo Matus
0bf296c7ad fix for #1205859
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:04:30 +00:00
William S Fulton
6aac5f45b2 Struct pointer to pointer output parameter example added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 23:57:40 +00:00