I'd like to return a coderef (for an iterator) from an XS function. I haven't a clue how to go about it.
Is it even possible? Does anyone know of any existing examples?
The only notion that crosses my mind so far is using eval_pv() or eval_sv() to bring that iterator into existence.
Better thoughts?
In reply to (XS): returning an iterator. by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |