diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2011-05-03 05:46:00 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2011-05-03 05:46:00 +0000 |
commit | 8ee05930364d7e68e6a3e4415af33d3c9ff47035 (patch) | |
tree | a7c1dad1cd8ce23735cf66d74fb92f7218b73d47 /Lib/d | |
parent | db9e973ab82db5f7dd64716001a32af312623918 (diff) | |
download | swig-8ee05930364d7e68e6a3e4415af33d3c9ff47035.tar.gz |
Remove incomplete directorin typemaps as users incorrectly assumed they were implemented and working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/d')
-rw-r--r-- | Lib/d/typemaps.i | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Lib/d/typemaps.i b/Lib/d/typemaps.i index cae523f06..143c736f5 100644 --- a/Lib/d/typemaps.i +++ b/Lib/d/typemaps.i @@ -58,17 +58,10 @@ In D you could then use it like this: %typemap(imtype, out="void*") TYPE *INPUT, TYPE &INPUT "DTYPE" %typemap(dtype, out="DTYPE*") TYPE *INPUT, TYPE &INPUT "DTYPE" %typemap(din) TYPE *INPUT, TYPE &INPUT "$dinput" -%typemap(ddirectorin) TYPE *INPUT, TYPE &INPUT "$winput" %typemap(in) TYPE *INPUT, TYPE &INPUT %{ $1 = ($1_ltype)&$input; %} -%typemap(directorin) TYPE &INPUT -%{ $input = (CTYPE *)$1; %} - -%typemap(directorin) TYPE *INPUT -%{ $input = (CTYPE *)$1; %} - %typemap(typecheck) TYPE *INPUT = TYPE; %typemap(typecheck) TYPE &INPUT = TYPE; %enddef @@ -149,19 +142,10 @@ value returned in the second output parameter. In D you would use it like this: %typemap(imtype, out="void*") TYPE *OUTPUT, TYPE &OUTPUT "out DTYPE" %typemap(dtype, out="DTYPE*") TYPE *OUTPUT, TYPE &OUTPUT "out DTYPE" %typemap(din) TYPE *OUTPUT, TYPE &OUTPUT "$dinput" -%typemap(ddirectorin) TYPE *OUTPUT, TYPE &OUTPUT "$winput" %typemap(in) TYPE *OUTPUT, TYPE &OUTPUT %{ $1 = ($1_ltype)$input; %} -%typemap(directorin) TYPE &OUTPUT -%{ $input = &$1; %} - -%typemap(directorin,warning="Need to provide TYPE *OUTPUT directorin typemap, TYPE array length is unknown") TYPE *OUTPUT -{ -} - - %typecheck(SWIG_TYPECHECK_##TYPECHECKPRECEDENCE) TYPE *OUTPUT, TYPE &OUTPUT "" %enddef @@ -249,18 +233,10 @@ of the function return value. %typemap(imtype, out="void*") TYPE *INOUT, TYPE &INOUT "ref DTYPE" %typemap(dtype, out="DTYPE*") TYPE *INOUT, TYPE &INOUT "ref DTYPE" %typemap(din) TYPE *INOUT, TYPE &INOUT "$dinput" -%typemap(ddirectorin) TYPE *INOUT, TYPE &INOUT "$winput" %typemap(in) TYPE *INOUT, TYPE &INOUT %{ $1 = ($1_ltype)$input; %} -%typemap(directorin) TYPE &INOUT -%{ $input = &$1; %} - -%typemap(directorin,warning="Need to provide TYPE *INOUT directorin typemap, TYPE array length is unknown") TYPE *INOUT, TYPE &INOUT -{ -} - %typecheck(SWIG_TYPECHECK_##TYPECHECKPRECEDENCE) TYPE *INOUT, TYPE &INOUT "" %enddef |