diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-03 15:17:29 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-03 15:17:29 +0000 |
commit | 4674ade5b759c9369580374e5145fe253ded600d (patch) | |
tree | e7e934e33bf28ab0f7f73a3301ff23df98793f33 /sv.c | |
parent | b0cda13faf629d100b3142c37f2720b08a110474 (diff) | |
download | perl-4674ade5b759c9369580374e5145fe253ded600d.tar.gz |
Make the ptr_table functions available in an unthreaded perl, as other
code (such as Storable) can take advantage of them.
p4raw-id: //depot/perl@29673
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9689,6 +9689,8 @@ Perl_mg_dup(pTHX_ MAGIC *mg, CLONE_PARAMS* param) return mgret; } +#endif /* USE_ITHREADS */ + /* create a new pointer-mapping table */ PTR_TBL_t * @@ -9832,6 +9834,7 @@ Perl_ptr_table_free(pTHX_ PTR_TBL_t *tbl) Safefree(tbl); } +#if defined(USE_ITHREADS) void Perl_rvpv_dup(pTHX_ SV *dstr, const SV *sstr, CLONE_PARAMS* param) |