This was suggested by wsfulton on the mailing list in order to bring the D module in line with the C# one, the naming scheme of which is intended to be language-independent. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
18 lines
559 B
Text
18 lines
559 B
Text
/* -----------------------------------------------------------------------------
|
|
* dvoid.swg
|
|
*
|
|
* Typemaps for handling void function return types and empty parameter lists.
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
%typemap(ctype) void "void"
|
|
%typemap(imtype) void "void"
|
|
%typemap(dtype, cprimitive="1") void "void"
|
|
|
|
%typemap(out, null="") void ""
|
|
%typemap(ddirectorin) void "$winput"
|
|
%typemap(ddirectorout) void "$dcall"
|
|
%typemap(directorin) void ""
|
|
|
|
%typemap(dout, excode=SWIGEXCODE) void {
|
|
$imcall;$excode
|
|
}
|