Commit graph

13,883 commits

Author SHA1 Message Date
William S Fulton
86e8bbb00b %feature attributes documented
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:17:58 +00:00
William S Fulton
c8364e5b65 %feature attributes documented
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:17:58 +00:00
William S Fulton
f9ab536aca *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:14:21 +00:00
William S Fulton
f5ada15165 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:14:21 +00:00
William S Fulton
6b5b4028db correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:13:16 +00:00
William S Fulton
b573901e8d correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-04 07:13:16 +00:00
William S Fulton
6dfefa9d96 %csconstvalue added and typecheck fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:14:49 +00:00
William S Fulton
8ecdd9eab9 %csconstvalue added and typecheck fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:14:49 +00:00
William S Fulton
19f9395193 few corrections and updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:12:21 +00:00
William S Fulton
3847856e72 few corrections and updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:12:21 +00:00
William S Fulton
5dcfaa9798 Notes about %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:11:50 +00:00
William S Fulton
5ad2cd3518 Notes about %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:11:50 +00:00
William S Fulton
c714119ed0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:08:34 +00:00
William S Fulton
3adc74f359 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:08:34 +00:00
William S Fulton
24f91357f2 Test for %javaexception classes being added to a method's throws clause
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:07:15 +00:00
William S Fulton
2fce1634c7 Test for %javaexception classes being added to a method's throws clause
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:07:15 +00:00
William S Fulton
e072f9b077 Test for %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:05:48 +00:00
William S Fulton
3942120b10 Test for %javaconstvalue added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:05:48 +00:00
William S Fulton
8a7d12435e 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 -
macros added for this - %javaexception and %nojavaexception


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
William S Fulton
1ed50b305b 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 -
macros added for this - %javaexception and %nojavaexception


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
William S Fulton
e00693aa8e 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/SWIG@6000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:00:05 +00:00
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