At 5:46 PM +0100 1/9/03, Leopold Toetsch wrote:
Nicholas Clark wrote:
ie user code has to have the discipline either to have things linked to the
root set by the time it makes a parrot call or explicitly disable DOD across
such a call.

Yes. We need some XS guidelines anyway. One more rule or less or some ENTER/LEAVE or LOCAL_PMC macros, which do the Right Thing.
To be honest, I was going to cheat with XS code. Allocation of PMC/Buffer/String objects through the XS interface would automagically push those objects onto the user stack, and leaving the XS routine would pop them back off. (They're presumably either rooted or dead at that point)

A bit slower than could otherwise be, but...
--
Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk


Reply via email to