Multiple dispatch branch merged
Allison Randal
allison at parrot.org
Mon Oct 6 19:54:19 UTC 2008
François Perrad wrote:
>
> languages/WMLScript/ops/wmls.ops can't compile.
> How rewrite this code ?
>
> INTVAL result = mmd_dispatch_i_pp(interp, $2, $3, MMD_CMP);
INTVAL result;
Parrot_mmd_multi_dispatch_from_c_args(interp,
"cmp", "PP->I", $2, $3, &result);
> INTVAL result = mmd_dispatch_i_pp(interp, $2, $3, MMD_EQ);
INTVAL result;
Parrot_mmd_multi_dispatch_from_c_args(interp,
"is_equal", "PP->I", $2, $3, &result);
Allison
More information about the parrot-dev
mailing list