15 | | Use Parrot_pcc_invoke_method_from_c_arg instead. |
| 13 | Use Parrot_pcc_invoke_method_from_c_arg instead. A simple textual substitution is enough to update any code that depends on this function. |
| 14 | {{{ |
| 15 | /* old code */ |
| 16 | Parrot_PCCINVOKE(interp, interp->scheduler, CONST_STRING(interp, "count_handlers"), "S->I", handler_type, &count); |
| 17 | |
| 18 | /* updated code */ |
| 19 | Parrot_pcc_invoke_method_from_c_args(interp, interp->scheduler, CONST_STRING(interp, "count_handlers"), "S->I", handler_type, &count); |
| 20 | |
| 21 | }}} |
| 22 | |
| 23 | See r42129 for more examples. |