develooper Front page | perl.perl5.porters | Postings from January 2021

stack depth in XSUB?

Thread Next
From:
Felipe Gasper
Date:
January 13, 2021 03:05
Subject:
stack depth in XSUB?
Message ID:
AF21A529-A744-41B9-877D-79A105F6F23C@felipegasper.com
Hello,

	How can I get the current Perl stack depth from an XSUB?

	I see that CvDEPTH(find_runcv(NULL)) works, but is CvDEPTH considered part of the API?

	Thank you!

cheers,
-Felipe
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About