Added special cases to the test-suite as required for D.
This is a part of the pending merge of the D module. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2070812f09
commit
a355d2d46a
29 changed files with 137 additions and 39 deletions
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
%import "import_nomodule.h"
|
||||
|
||||
#if !defined(SWIGJAVA) && !defined(SWIGRUBY) && !defined(SWIGCSHARP)
|
||||
#if !defined(SWIGJAVA) && !defined(SWIGRUBY) && !defined(SWIGCSHARP) && !defined(SWIGD)
|
||||
|
||||
/**
|
||||
* The proxy class does not have Bar derived from Foo, yet an instance of Bar
|
||||
* can successfully be passed to a proxy function taking a Foo pointer (for some
|
||||
* language modules).
|
||||
*
|
||||
* This violation of the type system is not possible in Java and C# due to static
|
||||
* type checking. It's also not (currently) possible in Ruby, but this may be
|
||||
* fixable (needs more investigation).
|
||||
* This violation of the type system is not possible in Java, C# and D due to
|
||||
* static type checking. It's also not (currently) possible in Ruby, but this may
|
||||
* be fixable (needs more investigation).
|
||||
*/
|
||||
|
||||
%newobject create_Foo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue