/trunk/Lib/d/dvoid.swg

# · Unknown · 18 lines · 15 code · 3 blank · 0 comment · 0 complexity · f631863a4af37ab63794bb826d01bf5a MD5 · raw file

  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. }