summaryrefslogtreecommitdiff
path: root/share/swig/2.0.11/d/dvoid.swg
blob: 805f1e71e3d404de1b0f440c7957ba86e6aee48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* -----------------------------------------------------------------------------
 * 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
}