develooper Front page | perl.perl5.porters | Postings from July 2016

[perl #33156] perlapi.pod and the Perl_ prefix

Thread Previous
From:
Dan Collins via RT
Date:
July 7, 2016 17:25
Subject:
[perl #33156] perlapi.pod and the Perl_ prefix
Message ID:
rt-4.0.18-15989-1467912324-1228.33156-15-0@perl.org
Working off of Nick's original report...

In embed.h:

#ifndef PERL_IMPLICIT_CONTEXT
#define newSVpvf                Perl_newSVpvf
#endif

...

#if defined(PERL_IMPLICIT_CONTEXT) && !defined(PERL_NO_SHORT_NAMES)
#  define newSVpvf              Perl_newSVpvf_nocontext

So it seems that newSVpvf is (almost) always defined (except under PERL_NO_SHORT_NAMES, which seems to be designed not to define it). Is it part of the API now, or should perldoc perlapi still be fixed to call it Perl_newSVpvf?

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=33156

Thread Previous


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