Commit d9b5310f authored by Marius Wachtler's avatar Marius Wachtler

generator: reduce number of c++ exceptions

Adds a few C API paths plus sets tp_iternext and tpp_hasnext
parent 40fa7ef7
This diff is collapsed.
......@@ -26,7 +26,7 @@ struct Context;
extern BoxedClass* generator_cls;
void setupGenerator();
void generatorEntry(BoxedGenerator* g);
void generatorEntry(BoxedGenerator* g) noexcept;
Context* getReturnContextForGeneratorFrame(void* frame_addr);
extern "C" Box* yield(BoxedGenerator* obj, STOLEN(Box*) value, llvm::ArrayRef<Box*> live_values = {});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment