Commit graph

2,826 commits

Author SHA1 Message Date
John Lenz
2da2f79d67 Update the chicken documenation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 21:49:26 +00:00
William S Fulton
5e9b3e9951 Fix for gcc-3.4.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 21:37:49 +00:00
William S Fulton
f797164890 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:27:14 +00:00
William S Fulton
ac4df70a4c typesafe enum support for storing the enum name (for ToString)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:25:18 +00:00
William S Fulton
9eeda24047 typesafe enum support for storing the enum name (for toString)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:24:54 +00:00
William S Fulton
c471f1ed46 various tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:46 +00:00
William S Fulton
23cae68731 various tweaks
ToString() method support


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:19 +00:00
William S Fulton
bdbbef48a8 various tweaks
toString() method support


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:21:49 +00:00
William S Fulton
92fd36fc00 duplicate typemaps removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:18:04 +00:00
William S Fulton
240f395497 Update for new enum wrapping which uses the typesafe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:14:33 +00:00
William S Fulton
e18288ecab Update for new enum wrapping which uses proper C# enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:13:12 +00:00
amigalemming
8e3942823f modula3: documented some of the conceptions and typemaps, added anchors to modules I refer to
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 17:14:25 +00:00
William S Fulton
2b4f480f34 more tests added to test all the generic throws typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 08:02:16 +00:00
William S Fulton
0e84a1da9c array throws typemap added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 08:01:25 +00:00
John Lenz
acd0b021b1 Rewrite chicken example and test-suite building code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 07:11:26 +00:00
Marcelo Matus
830e72dba7 fixes for new char[] behaviour
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:37:13 +00:00
Marcelo Matus
dfc928fde7 more fixes for exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:34:09 +00:00
Marcelo Matus
7d85c1f1b0 more tests for exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:24:53 +00:00
Marcelo Matus
6caba9c765 more fixes for exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:19:01 +00:00
Marcelo Matus
2febdc6ecb more fixes for exceptions and ref.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:17:15 +00:00
William S Fulton
d6de9a311f More comprehensive exception specification tests added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:09:25 +00:00
William S Fulton
826afba4d8 Added SWIGTYPE & and SWIGTYPE * typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:08:22 +00:00
William S Fulton
4c472ec20e Fix for exception specifications that are references. Also improves the generated
exception declarations in the catch handler for pointers - a pointer is used
instead of a reference to a pointer.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:03:46 +00:00
Marcelo Matus
7e55132f60 Fix generation of multiple throws
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 03:34:40 +00:00
Marcelo Matus
f5fb952e36 change char[] and char[ANY] to behave more like char* as default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 20:40:32 +00:00
Marcelo Matus
3a96cf14ec remove warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:27:24 +00:00
Marcelo Matus
a6d2269a26 add template_opaque
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +00:00
Marcelo Matus
9c6a029e75 fix anon enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
da6e5673e8 add template + opaque type test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:44:33 +00:00
Marcelo Matus
92e43dda16 fixes on test related to member vars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:36:50 +00:00
Marcelo Matus
885c23dd72 added global char[] arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:34:41 +00:00
Marcelo Matus
08718830bf fixes for const char[]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:29:39 +00:00
Marcelo Matus
12af360d6f fixes for char[], const char[], and cleaning wchar_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:25:31 +00:00
Luigi Ballabio
d062b8cce8 Python typemap for FILE* (in behalf of Marcelo)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00
Ahmon Dancy
e465a6ae6a See CHANGES.recent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 21:22:39 +00:00
William S Fulton
ca0cb04690 unnamed global enum variables support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:35:16 +00:00
William S Fulton
7592e71847 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:32:09 +00:00
William S Fulton
88bee9d9df New enum wrapping options implemented and bug fixes:
Proper Java enums
Typesafe enum pattern
Original approach using integers for each enum item
'Type unsafe enums' - using static final integers in a Java class named after the C/C++ enum name


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:22:55 +00:00
William S Fulton
97f5ccb180 New enum wrapping options implemented and bug fixes:
Proper C# enums
Typesafe enum pattern
Original approach using integers for each enum item


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:19:36 +00:00
William S Fulton
ead1d3ac6a enumvalueex attribute now set during the type pass
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:14:58 +00:00
William S Fulton
f2100be746 Unnamed enum instance in global scope fix
enumvalueex attribute now set during the type pass


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:13:55 +00:00
William S Fulton
990156dff1 Enum typemaps taken out of java.swg
New typemap files for the different C/C++ to Java enum wrapping approaches.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:09:17 +00:00
William S Fulton
064082e9b5 Enum typemaps taken out of csharp.swg.
New typemap files for the different C/C++ to C# enum wrapping approaches.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:08:04 +00:00
William S Fulton
c88daea001 New default C/C++ enum wrapping approach which uses the type safe enum pattern for Java and C#
Also tests for Java and C# simple enums (enum items mapped to integers)
Also proper Java (J2SDK1.5) enums


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:05:40 +00:00
William S Fulton
3d51247b24 Further enum wrapping approaches and tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:02:56 +00:00
William S Fulton
1b1dadc9de New default Java enum wrapping approach which uses the type safe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +00:00
William S Fulton
80b89d662c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:49:00 +00:00
William S Fulton
17e443899d JVM link failure on some systems fixed when using std_vector.i.
Also adds default vector constructor for use from Java.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:46:13 +00:00
Matthias Köppe
b3cd2d3849 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 16:18:12 +00:00
Matthias Köppe
54fd1425f4 [Guile] In -scm mode, wrap several SWIG runtime functions
and export them into the module (Swig swigrun).  The
	    runtime module is now built with "module" linkage.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 15:48:16 +00:00