summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-15 15:55:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-15 15:55:53 +0000
commit7d824d8e6f7cacfafe95d58fa9ab3d99bd41e854 (patch)
treed7b9d7d07bd59b8d79c630695054f4a80f8fba16 /embed.fnc
parent2a84dff3ea9dbc3670690c13c0f8f55f391c41cc (diff)
parent5a8e194fce7241d2bd0867584a5f8b0c0e672556 (diff)
downloadperl-7d824d8e6f7cacfafe95d58fa9ab3d99bd41e854.tar.gz
Integrate perlio:
[ 14281] Correct slab allocator for case where sizeof(IV) > sizeof(IV *) e.g. -Duse64bitint on a 32-bit platform. Now uses I32 for use-count and is more careful with its casts. [ 14277] Correct name of PL_OP_SLAB_ALLOC [ 14271] Regen embed enable slab for PERL_IMPLICIT_SYS [ 14269] Typo in #else branch of PL_SLAB_ALLOC [ 14268] const-ness fix in savepv's passing of NULL [ 14267] Hand merge of non slab allocator stuff [ 14259] Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds! Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. [ 14257] Inverted sense of special-ness of specialCopIO - supposed to be true if value is "special" i.e. NOT an SV. p4raw-link: @14281 on //depot/perlio: 5a8e194fce7241d2bd0867584a5f8b0c0e672556 p4raw-link: @14277 on //depot/perlio: 6916a0abaebd67f9eaa2ffb20dbbb5aaf1b1719d p4raw-link: @14271 on //depot/perlio: ba979b3106a5e7f3b2512d1f4e93c681fba7aa9f p4raw-link: @14269 on //depot/perlio: a594c7b4495766324bc28504b0f4af2b5424ed02 p4raw-link: @14268 on //depot/perlio: 965155cb95a9be50d5ff126b516ea1fda1cb74ee p4raw-link: @14267 on //depot/perlio: 00ca71c18f4e3a59b9a40525cbef41f099448920 p4raw-link: @14259 on //depot/perlio: 05ec9bb346c404c8906ed1ac374d4bce61c84f5d p4raw-link: @14257 on //depot/perlio: b47b7e599cdd7224bc23222ddfd89205dbb5c997 p4raw-id: //depot/perl@14284
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 729f9141c1..7f71e156db 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -613,6 +613,7 @@ p |void |rxres_save |void** rsp|REGEXP* prx
p |I32 |same_dirent |char* a|char* b
#endif
Apd |char* |savepv |const char* sv
+Apd |char* |savesharedpv |const char* sv
Apd |char* |savepvn |const char* sv|I32 len
Ap |void |savestack_grow
Ap |void |save_aelem |AV* av|I32 idx|SV **sptr
@@ -628,6 +629,7 @@ p |void |save_freeop |OP* o
Ap |void |save_freepv |char* pv
Ap |void |save_generic_svref|SV** sptr
Ap |void |save_generic_pvref|char** str
+Ap |void |save_shared_pvref|char** str
Ap |void |save_gp |GV* gv|I32 empty
Ap |HV* |save_hash |GV* gv
Ap |void |save_helem |HV* hv|SV *key|SV **sptr