Nicholas Clark <[EMAIL PROTECTED]> wrote: > If I understand this correctly, then this is far more restrictive than the > perl5 embedding interface.
This is *one* way to start things up. You can start the app with Parrot_run_native. You can set the stack top. You can register each PMC with dod_register. You can stuff all PMCs that wouldn't be visible into a PMC array ...But one of these policies or a suitable mixture has to be choosen. Like it or not DOD/GC has different impacts on the embedder. Above rules are simple. There is no "when the PMC isn't used any more decrement a refcount" and "when you do that and that then icnrement a refcount" or some such like in XS. This is really simple. Simplest is to just set the top of stack. > Nicholas Clark leo