C-wiring of executor stubs and callbacks