summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-11-15 00:22:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-11-15 00:22:20 +0000
commit83bef53deaf995ad527b56384202a2141f4153e5 (patch)
tree84e7b6e95a62e27ea32e2eda510beafb5c6183a5 /perlapi.c
parent6eb5f6b9f48454b7ad64225a5bab0de7fdff695c (diff)
parent62fde6427850206f9043b1f1a24485f145ebce72 (diff)
downloadperl-83bef53deaf995ad527b56384202a2141f4153e5.tar.gz
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4587
Diffstat (limited to 'perlapi.c')
-rwxr-xr-xperlapi.c44
1 files changed, 30 insertions, 14 deletions
diff --git a/perlapi.c b/perlapi.c
index 6ea713ce16..2a7899cb37 100755
--- a/perlapi.c
+++ b/perlapi.c
@@ -4915,32 +4915,48 @@ Perl_sys_intern_dup(pTHXo_ struct interp_intern* src, struct interp_intern* dst)
}
#endif
-#undef Perl_sv_table_new
-SVTBL*
-Perl_sv_table_new(pTHXo)
+#undef Perl_ptr_table_new
+PTR_TBL_t*
+Perl_ptr_table_new(pTHXo)
{
- return ((CPerlObj*)pPerl)->Perl_sv_table_new();
+ return ((CPerlObj*)pPerl)->Perl_ptr_table_new();
}
-#undef Perl_sv_table_fetch
-SV*
-Perl_sv_table_fetch(pTHXo_ SVTBL *tbl, SV *sv)
+#undef Perl_ptr_table_fetch
+void*
+Perl_ptr_table_fetch(pTHXo_ PTR_TBL_t *tbl, void *sv)
{
- return ((CPerlObj*)pPerl)->Perl_sv_table_fetch(tbl, sv);
+ return ((CPerlObj*)pPerl)->Perl_ptr_table_fetch(tbl, sv);
}
-#undef Perl_sv_table_store
+#undef Perl_ptr_table_store
void
-Perl_sv_table_store(pTHXo_ SVTBL *tbl, SV *oldsv, SV *newsv)
+Perl_ptr_table_store(pTHXo_ PTR_TBL_t *tbl, void *oldsv, void *newsv)
{
- ((CPerlObj*)pPerl)->Perl_sv_table_store(tbl, oldsv, newsv);
+ ((CPerlObj*)pPerl)->Perl_ptr_table_store(tbl, oldsv, newsv);
}
-#undef Perl_sv_table_split
+#undef Perl_ptr_table_split
void
-Perl_sv_table_split(pTHXo_ SVTBL *tbl)
+Perl_ptr_table_split(pTHXo_ PTR_TBL_t *tbl)
+{
+ ((CPerlObj*)pPerl)->Perl_ptr_table_split(tbl);
+}
+
+#undef perl_clone
+PerlInterpreter*
+perl_clone(PerlInterpreter* interp, UV flags)
{
- ((CPerlObj*)pPerl)->Perl_sv_table_split(tbl);
+ dTHXo;
+ return ((CPerlObj*)pPerl)->perl_clone(flags);
+}
+
+#undef perl_clone_using
+PerlInterpreter*
+perl_clone_using(PerlInterpreter *interp, UV flags, struct IPerlMem* m, struct IPerlEnv* e, struct IPerlStdIO* io, struct IPerlLIO* lio, struct IPerlDir* d, struct IPerlSock* s, struct IPerlProc* p)
+{
+ dTHXo;
+ return ((CPerlObj*)pPerl)->perl_clone_using(interp, flags, m, e, io, lio, d, s, p);
}
#endif
#if defined(PERL_OBJECT)