Commit graph

638 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Lyle Johnson
71c0e895e2 Added a %warnfilter to the redefined.i test case to suppress warning
message from Ruby module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:43:11 +00:00
Lyle Johnson
bfcc5d8d52 Added a number of %warnfilter directives to the enum_thorough.i test
to suppress warning messages from the Ruby module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:37:33 +00:00
John Lenz
c0a2aea4cc Fix bug 782468
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
Matthias Köppe
27684d78ba *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:52 +00:00
Matthias Köppe
da82f613cf Add new C test tag_no_clash_with_variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:33:26 +00:00
Matthias Köppe
ebd0e442d9 Use preinst-swig.
Add new C test tag_no_clash_with_variable


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 17:32:51 +00:00
William S Fulton
56211014e6 enums added for testing across different SWIG generated modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:32:48 +00:00
William S Fulton
a7ef2df04d C# runtime tests for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:30:02 +00:00
William S Fulton
1b26b90637 More enum tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:28:53 +00:00
William S Fulton
0acf186f1d Added virtual_poly back in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:27:56 +00:00
Marcelo Matus
6efc168b09 fix for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:42:00 +00:00
Marcelo Matus
f6340798c4 add virtual destructors where needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 12:10:44 +00:00
Marcelo Matus
cdf6bd6d74 fix uninitialized const member SpeedClass::myColour2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 07:24:13 +00:00
Marcelo Matus
5993e83ee4 another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:51:49 +00:00
Marcelo Matus
f152262d7a better test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 06:05:37 +00:00
Marcelo Matus
d1f339c6d5 add new broken case template_typedef_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:51 +00:00
Marcelo Matus
67d117da25 move array_typedef_memberin, since it works now, and add new broken template_typedef_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:14:11 +00:00
Marcelo Matus
be31340148 add None ptr case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:57:16 +00:00
Marcelo Matus
1f3d73a0b0 add inplace test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:56:14 +00:00
William S Fulton
b411e1ae00 enum_thorough, more comprehensive enum testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:02:37 +00:00
William S Fulton
be3f4b7067 _a -> m_a name change
_a member variable clashes with get_a() for languages that use getter and setter methods for member variables


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 20:01:43 +00:00
Marcelo Matus
f62bf7a2e7 more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 03:32:41 +00:00
Marcelo Matus
a0e5e53f64 accept None in std::vector<A*>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 01:20:41 +00:00
Marcelo Matus
f9d781feee add test for std::vector<A*>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-07 00:53:48 +00:00
Marcelo Matus
355795b4fb added primitive_types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:32:55 +00:00
Marcelo Matus
f7e9893d61 testing wchar_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-06 06:32:27 +00:00
Marcelo Matus
58a46d290f more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 23:26:20 +00:00
Marcelo Matus
39e2071d68 add test for wstring
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-05 20:08:55 +00:00
Marcelo Matus
89ec5af2d6 move simple template test outside
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:41:41 +00:00
Marcelo Matus
b38eae9915 more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-03 08:38:12 +00:00
Marcelo Matus
811a5065c3 added the now explicitly needed macro:
#define SWIG_STD_EXTEND_COMPARISON

note: you don't need this one for most of the cases


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-02 02:44:34 +00:00
Marcelo Matus
1c1f6acf4c add ptr cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 18:49:22 +00:00
Marcelo Matus
efed557610 added more especial methods for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 05:12:23 +00:00