William S Fulton
09915566bc
Add C# array typemaps provided by Antti Karanta.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:32:28 +00:00
William S Fulton
4887e7be7c
Fix director typemaps for pointers so that NULL pointers are correctly marshalled to C#/Java null in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-14 21:09:23 +00:00
William S Fulton
f8ae12fe4d
variable name changes to remove php keywords
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:11:46 +00:00
William S Fulton
67f0d42dfc
correct message display when running the partialcheck-test-suite make target
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:39:41 +00:00
William S Fulton
f06222b993
Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
William S Fulton
b0ecf14e31
Fix wrapping of overloaded protected methods when using allprotected mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-07 20:59:00 +00:00
William S Fulton
9976dc9d75
Add allprotected mode for wrapping protected members when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:41:01 +00:00
William S Fulton
a37115f55d
Correct test for global shared_ptr variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-04 23:26:54 +00:00
William S Fulton
2cf3cb3dc9
char *& typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-04 21:35:22 +00:00
William S Fulton
1a560e3866
global variables test and shared_ptr varin/varout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-29 23:23:35 +00:00
William S Fulton
3d2f9af64d
minor comment mods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 22:54:27 +00:00
William S Fulton
a85143fe7d
further testing of shared_ptr and derived classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:14:31 +00:00
William S Fulton
b772aa2e24
test exception_partial_info only in Java and C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:36:43 +00:00
William S Fulton
ede8b8c87a
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:56:11 +00:00
William S Fulton
54200cc7e8
shared_ptr memory leak testing. Make increment and decrement counts thread safe. Fix template test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:56:31 +00:00
William S Fulton
12919429ad
shared_ptr typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-07 00:28:11 +00:00
William S Fulton
8a17d9dcfa
Back out valueparm attribute in the csvarin typemap. Add example usage of temporary variables in the csvarin typemap into docs. Modify CDate C# example. Add in special variable expansion in the csvarin typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-21 23:58:00 +00:00
William S Fulton
d737022daa
More flexible variable wrappers (C# properties). The property set can now support a different type to that used in the intermediary layer. This is achieved by using a temporary variable and specifying the name of the temporary variable in a new 'valueparm' attribute in the csvarin typemap. Also Fix bug reported by Glenn A Watson and #1795260 where the cstype typemap used the 'ref' keyword in the typemap body. The type for the property now correctly comes from the 'out' attribute in the cstype typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:54:19 +00:00
William S Fulton
f5bdd056f7
Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
William S Fulton
e4bade15f3
fixes to use parallel make when running the examples and test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:26:54 +00:00
William S Fulton
fd03218011
pre, post, cshin, pgcppname attribute tests for javain/csin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:48:38 +00:00
William S Fulton
4b31a3ee50
add C# std::string and wchar typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-15 23:50:39 +00:00
John Lenz
6dda6f8321
Remove cvsignore files: this is stored on svn:igonre property now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
William S Fulton
6f85d26376
copy test from java version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 21:54:25 +00:00
William S Fulton
7d31be5880
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:45:37 +00:00
William S Fulton
191e40d4f9
size_t tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:41:39 +00:00
William S Fulton
eae32a8da7
test virtual operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:15:24 +00:00
William S Fulton
d096cc1613
%ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
05556f43b8
Director %ignore test case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:39:50 +00:00
William S Fulton
7d2ce752ac
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:19:00 +00:00
William S Fulton
ec12094f5f
cleanup Mono debris
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:18:43 +00:00
William S Fulton
fadfebf367
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:16:34 +00:00
William S Fulton
0dcd061841
director base method call tests to check recursive director method problem has gone away
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:58:09 +00:00
William S Fulton
f26ab4f86e
runtime test to match the java one
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:29:43 +00:00
William S Fulton
8ffbfcc9bc
More comprehensive test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-27 22:25:25 +00:00
William S Fulton
7c2c142a68
new director test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-12 20:18:08 +00:00
William S Fulton
37005baff5
explicitcall tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 20:55:10 +00:00
William S Fulton
e037db38fd
Fixes for autoconf-2.59d (2.60 beta)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:15 +00:00
William S Fulton
0290a29cb7
C# director runtime tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:31:35 +00:00
William S Fulton
2d24918a97
ensure %apply with char*, unsigned char* and signed char* works
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:58:19 +00:00
William S Fulton
53ceae6a0a
fix for perl keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 23:05:11 +00:00
William S Fulton
98d8be6bd1
Add inner exception tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:19:56 +00:00
Marcelo Matus
51ff0cf264
add new tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 07:25:21 +00:00
William S Fulton
087e29e705
comment about unusual test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-07 20:46:10 +00:00
William S Fulton
2df53312a3
add in const std::string variable tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:47:38 +00:00
William S Fulton
8e762154b8
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:59:46 +00:00
William S Fulton
d59d8638c9
add in complete increment/decrement operator checks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:06:30 +00:00
William S Fulton
135f792af5
check std::exception typemaps are working correctly and throwing the correct exceptions.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:27:21 +00:00
William S Fulton
fc0d1e82bc
operator overloading test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 00:14:18 +00:00
William S Fulton
eb47550e24
runtime test for C# added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:03 +00:00