]> granicus.if.org Git - php/commit
Rename+move zend_hash_apply_deleter and reuse it
authorNikita Popov <nikic@php.net>
Thu, 20 Mar 2014 22:50:04 +0000 (23:50 +0100)
committerNikita Popov <nikic@php.net>
Thu, 20 Mar 2014 23:14:52 +0000 (00:14 +0100)
commit4e7e301dda2fa081c1310279b027a2350c05801e
tree068296383e944df92cfc3401f52b32b7f1dd698f
parent4efa58dd593409eb5a4359780bf6b3f83995499b
Rename+move zend_hash_apply_deleter and reuse it

The interruption handling was normalized to wrap the entire deletion
operation (instead of leaving out the destructor call and/or the
deallocation) per the recommendation of somebody (don't remember who)
familiar with zend signals.

There is an always-inlined variant of the function for use in
the main deletion function, to ensure there is no performance
impact.
Zend/zend_hash.c