summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-01-13 23:22:34 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-01-13 23:22:34 +0000
commit238a4c30b3724d314933955c5c4a0162eae05ee0 (patch)
treee44c8daa8bd02ecc53ddfb4efeac662d1d1ed896 /embed.h
parentd5802c9e522d9061ec4d6f117e7f5a9c135969d5 (diff)
downloadperl-238a4c30b3724d314933955c5c4a0162eae05ee0.tar.gz
Slab allocator for ops
- moved the statics to intrpvar.h - implemented Slab_Free() - uses PerlMemShared (for now) if distinction exists. p4raw-id: //depot/perlio@14250
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 6203634e92..cbd880ed45 100644
--- a/embed.h
+++ b/embed.h
@@ -936,6 +936,7 @@
#define apply_attrs_my S_apply_attrs_my
# if defined(PL_OP_SLAB_ALLOC)
#define Slab_Alloc S_Slab_Alloc
+#define Slab_Free S_Slab_Free
# endif
#endif
#if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
@@ -2477,6 +2478,7 @@
#define apply_attrs_my(a,b,c,d) S_apply_attrs_my(aTHX_ a,b,c,d)
# if defined(PL_OP_SLAB_ALLOC)
#define Slab_Alloc(a,b) S_Slab_Alloc(aTHX_ a,b)
+#define Slab_Free(a) S_Slab_Free(aTHX_ a)
# endif
#endif
#if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)