summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-04-29 16:11:15 +0100
committerNicholas Clark <nick@ccl4.org>2010-04-29 16:11:15 +0100
commit5c5ade3ee4e783409153da7ec47110c6bb74a89b (patch)
treeaafe965da558d4cb8befab2ebeaf823de86c80d5 /embed.fnc
parent36c2b1d054d816a24315524ae15e6e339a59c766 (diff)
downloadperl-5c5ade3ee4e783409153da7ec47110c6bb74a89b.tar.gz
Deprecate Perl_ptr_table_clear(). Nothing outside sv.c uses it.
Inline the necessary parts of Perl_ptr_table_clear() into Perl_ptr_table_free(). No need to reset memory to zero that is about to be freed anyway.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index be7debe1ac..7ae3b9feef 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1424,7 +1424,7 @@ ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
|NN void *const newsv
Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
-Ap |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
+ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
#if defined(USE_ITHREADS)
# if defined(HAVE_INTERP_INTERN)