more flexible primitive exporting
untested RPython draft for guarded continuations