The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
JOB_T		T_JOB

INPUT
T_JOB
        if (sv_derived_from($arg, \"Win32::Job\")) {
            IV tmp = SvIV((SV*)SvRV($arg));
            $var = ($type) tmp;
        }
        else
            croak(\"$var is not of type Win32::Job\")

OUTPUT
T_JOB
        sv_setref_pv($arg, \"Win32::Job\", (void*)$var);