dvoid.swg 559 B

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