Home | History | Annotate | Download | only in d
      1 /* -----------------------------------------------------------------------------
      2  * dvoid.swg
      3  *
      4  * Typemaps for handling void function return types and empty parameter lists.
      5  * ----------------------------------------------------------------------------- */
      6 
      7 %typemap(ctype) void "void"
      8 %typemap(imtype) void "void"
      9 %typemap(dtype, cprimitive="1") void "void"
     10 
     11 %typemap(out, null="") void ""
     12 %typemap(ddirectorin) void "$winput"
     13 %typemap(ddirectorout) void "$dcall"
     14 %typemap(directorin) void ""
     15 
     16 %typemap(dout, excode=SWIGEXCODE) void {
     17   $imcall;$excode
     18 }
     19