summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-02-24 11:47:08 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-24 15:15:26 +0100
commitf7abe70be985cb9179c2e728a593cb8a5c8e049d (patch)
treecaa50831f19cd6adb6b56628295289b526e4acb1 /make_ext.pl
parenta09252eb79f700c93c37322c1ad831cf3193571b (diff)
downloadperl-f7abe70be985cb9179c2e728a593cb8a5c8e049d.tar.gz
Abstract *correct* initialisation of CLONE_PARAMS into Perl_clone_params_new().
As it allocates memory dynamically, add Perl_clone_params_del(). This will allow CLONE_PARAMS to be expand in future in a source and binary compatible fashion. These implementations of Perl_clone_params_new()/Perl_clone_params_del() jump through hoops to remain source and binary compatible, in particular, by not assuming that the structure member is present and correctly initialised. Hence they should be suitable for inclusion into Devel::PPPort. Convert threads.xs to use them, resolving RT #73046.
Diffstat (limited to 'make_ext.pl')
0 files changed, 0 insertions, 0 deletions