On Mon, 27 Aug 2001, Geoffrey Young wrote:
 
> do I need some sort of check on cv before calling perl_cv_ismethod(cv) here?

if cv is returned from sv_2cv() just checking that its not NULL should be
fine.
 
> I guess the last thing is - how do I check my refcounts to make sure I got
> all the dec and inc stuff right?

in general, anything you _inc needs to be _dec'd.  however if the _dec
needs to happen after your return from the function, sv_2mortal() can be
used to arrange for that.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to