> -----Original Message-----
> From: Eric Wilhelm [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 10, 2005 9:58 AM
> To: inline@perl.org
> Subject: Re: CODEREF ----> typedef'ed function pointer
> 
> Would that require you to set a global variable in your C 
> code?  Such as 
> the below (poorly written) pseudocode, where the callback is 
> to a pure 
> C function that gets the Perl subroutine from a hardcoded variable.  

Yeah, that was my thought too.  If that's not suitable, you could maybe make it 
re-entrant by pushing the subroutine names onto a stack or something.  But 
yeah, it's not very pretty.

 -Ken

Reply via email to