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

dXSTARG vs dXSTARGET

Thread Next
From:
Nicholas Clark
Date:
January 1, 2005 04:21
Subject:
dXSTARG vs dXSTARGET
Message ID:
20050101122040.GS77507@plum.flirble.org
xsutils.c uses a lot of constructs like this:

XS(XS_attributes__warn_reserved)
{
    dXSARGS;
#ifdef dXSTARGET
    dXSTARGET;
#else
    SV * TARG = sv_newmortal();
#endif


dXSTARGET doesn't seem to be defined anywhere. dXSTARG is (in XSUB.h)

Consequentially the core is always going the sv_newmortal() way:

http://www.ccl4.org/~nick/P/23712-g-gcov/xsutils.c.gcov

(scroll right to the end for XS_attributes__warn_reserved)

Should all those C<dXSTARGET>s be  C<dXSTARG>s ?

Nicholas Clark

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