develooper Front page | perl.perl5.porters | Postings from November 2013

Experimental XS APIs

Thread Next
Peter Martini
November 21, 2013 17:20
Experimental XS APIs
Message ID:
In 5.18, when we added lexical subs, it was protected by a feature
that has an experimental warning.

I'm deeply attached to getting the signatures *syntax* into core, but
not attached at all to how its implemented.

Do we have anything right now at the XS level to explicitly opt in to
experimental APIs?

Say, add the functions, but put an

#ifdef EXPERIMENTAL_<function name>


So if anything outside of a bundled signatures module wanted to use
it, it would have to specifically set that #define

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