Quoth jand@activestate.com ("Jan Dubois"): > On Mon, 03 May 2010, Steffen Mueller wrote: > > I agree that the Perl docs are big and not always well laid out, but is > > perl*guts* the place to document something that an XS author should > > certainly remember? OTOH, it's discussed to great lengths in perlguts, > > so if we assume that an XS author has at least skimmed the document as > > he should, he won't completely oblivious to it. > > I can't think of any excuse why an XS author should not have read perlguts.pod > multiple times. :) +1 :) > > Also, is this a default that we might be able to change down the road? > > It is possible, but it will break XS extensions that have not > prepared for this. A general solution to this problem would be to put something like #if PERL_WANT_VERSION > 5013000 # define PERL_NO_GET_CONTEXT #endif in perl.h. This would still require action on the part of XS authors for the practice to spread, but it would give us an easily-understood way to change the C API without breaking old modules. BenThread Previous | Thread Next