develooper Front page | perl.perl5.porters | Postings from October 2011

RE: Did commit 87b9e160 invalidate an intrpvar.h comment?

Thread Previous
Jan Dubois
October 24, 2011 16:22
RE: Did commit 87b9e160 invalidate an intrpvar.h comment?
Message ID:
On Sun, 23 Oct 2011, Father Chrysostomos wrote:
> Did commit 87b9e160 invalidate this comment in intrpvar.h?
> /* New variables must be added to the very end for binary compatibility.

This part is still true.

>  * XSUB.h provides wrapper functions via perlapi.h that make this
>  * irrelevant, but not all code may be expected to #include XSUB.h. */

But the rest isn't.

As a side effect this also means that maintenance releases cannot add
additional elements to the interp_intern struct anymore because it is
embedded inside the interp structure, instead of being indirected via a
pointer. But due to the fact that some modules (*cough* mod_perl
*cough*) avoided using the XSUB.h API for performance reasons and
pretended to be compiled as part of the core Perl build process, this
wasn't really possible before either.

Note thought that the comment really only applies to maintenance
releases, as new blead releases don't maintain binary
compatibility anyways.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About