Commit graph

14,662 commits

Author SHA1 Message Date
William S Fulton
5b10a2cb11 Support for %javaconstvalue added (better compile time constants)
Support for %feature("except", throws="ExceptionClass") so that any Java exception classes thrown from JNI code can be added to the throws list - handled in the same way as the 'throws' attribute in typemaps.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:00:05 +00:00
William S Fulton
e86362442a Support for %csconstvalue added (better compile time constants)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:56:54 +00:00
William S Fulton
56182e04f1 Support for %csconstvalue added (better compile time constants)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:56:54 +00:00
William S Fulton
f7306ec0cb New feature attributes added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
24a7f00d0a New feature attributes added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:53:22 +00:00
William S Fulton
e2454484ba 1)
%feature improvements for the syntax that takes the feature value within the
            %feature() brackets. The value specified is no longer restricted to being just
            a string. It can be a string or a number. For example, this is now acceptable
            syntax:
              %feature("featurename",20.0);
            whereas previously it would have to have been:
              %feature("featurename","20.0");
            Useful for features that are implemented as a macro, for example:
              #define %somefeature(value)      %feature("somefeature",value)
            These will now work accepting either a string or a number:
              %somefeature("Fred");
              %somefeature(4);

2)
            %feature enhancements. Features can now take an unlimited number of attributes
            in addition to the feature name and feature value. The attributes are optional
            and are much the same as the typemap attributes. For example, the following
            specifies two optional attributes, attrib1 and attrib2:

             %feature(featurename, attrib1="attribval1", attrib2="attribval2") name "val";
             %feature(featurename, val, attrib1="attribval1", attrib2="attribval2") name;


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:48:57 +00:00
William S Fulton
000c8d455a 1)
%feature improvements for the syntax that takes the feature value within the
            %feature() brackets. The value specified is no longer restricted to being just
            a string. It can be a string or a number. For example, this is now acceptable
            syntax:
              %feature("featurename",20.0);
            whereas previously it would have to have been:
              %feature("featurename","20.0");
            Useful for features that are implemented as a macro, for example:
              #define %somefeature(value)      %feature("somefeature",value)
            These will now work accepting either a string or a number:
              %somefeature("Fred");
              %somefeature(4);

2)
            %feature enhancements. Features can now take an unlimited number of attributes
            in addition to the feature name and feature value. The attributes are optional
            and are much the same as the typemap attributes. For example, the following
            specifies two optional attributes, attrib1 and attrib2:

             %feature(featurename, attrib1="attribval1", attrib2="attribval2") name "val";
             %feature(featurename, val, attrib1="attribval1", attrib2="attribval2") name;


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:48:57 +00:00
William S Fulton
ed9771220c Use mono JIT instead of mono interpreter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:37:39 +00:00
William S Fulton
8c792a6f31 Use mono JIT instead of mono interpreter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 20:37:39 +00:00
Marcelo Matus
7c2c1a766c fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
Marcelo Matus
58fc17cb81 fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
William S Fulton
d499d9b81e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:52:27 +00:00
William S Fulton
d38c2ac031 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:52:27 +00:00
William S Fulton
bc28240f48 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
858a8c39d9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
db374a14f4 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
William S Fulton
cb62b4dd90 Test const char [] instead of const char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:12:22 +00:00
William S Fulton
2760a2b61e Portability fix for windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:11:07 +00:00
William S Fulton
6e4091ddd8 Portability fix for windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:11:07 +00:00
William S Fulton
52d0d774ab Fix for directorin char[ANY] typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
4267e2d4d5 Fix for directorin char[ANY] typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
9d70f8449a Missing char[] typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:07:49 +00:00
William S Fulton
0901b50f9d Missing char[] typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:07:49 +00:00
William S Fulton
9172441c09 Fixes for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:06:19 +00:00
William S Fulton
22f81ece7c Fixes for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:06:19 +00:00
William S Fulton
5fa2399106 Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
e11d8b931d Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
2252e3bb13 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
William S Fulton
dc55225be7 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
William S Fulton
cad4c0201f Fix for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:48:06 +00:00
William S Fulton
8b3c711129 Fix for Sun Workshop compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:48:06 +00:00
William S Fulton
bee7575ea9 Mono C# mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:45:12 +00:00
William S Fulton
586c6d0b07 Mono C# mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:45:12 +00:00
Marcelo Matus
eea53dbb48 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
Marcelo Matus
0603e7529b added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
Marcelo Matus
b2ede29b59 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
a02d064ad6 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Marcelo Matus
0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
Marcelo Matus
2ae6c092a8 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
Luigi Ballabio
13374b6a80 Fix in Perl out-typemap for std::vector (thanks to Josh Cherry)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-11 07:37:41 +00:00
Luigi Ballabio
2ee999ed53 Fix in Perl out-typemap for std::vector (thanks to Josh Cherry)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-11 07:37:41 +00:00
John Lenz
60f4c8988e The guile and chicken _runme scripts are now shared
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
John Lenz
c394a8dd9f The guile and chicken _runme scripts are now shared
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
William S Fulton
cc578cd11f Test case fix for ISO compliant compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:32:51 +00:00
William S Fulton
0e7633162b Test case fix for ISO compliant compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:32:51 +00:00
William S Fulton
e2d6865cc3 Correct changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:19:44 +00:00
William S Fulton
e987dfc82a Correct changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-04 23:19:44 +00:00
William S Fulton
2f83a02f4a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:54 +00:00
William S Fulton
567355372f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:54 +00:00
William S Fulton
edcd297829 Patch to fix wrapping of templated methods. ISO compliant compilers, like
Comeau and GCC-3.4.0, don't like the template specifier that SWIG was generating
when calling the method. This fix may break some non standard compliant compilers,
for example, Sun workshop compilers prior to version 6.2.p2. Patch submitted
by Bill Clarke.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00