diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-13 23:22:34 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-01-13 23:22:34 +0000 |
commit | 238a4c30b3724d314933955c5c4a0162eae05ee0 (patch) | |
tree | e44c8daa8bd02ecc53ddfb4efeac662d1d1ed896 /embed.h | |
parent | d5802c9e522d9061ec4d6f117e7f5a9c135969d5 (diff) | |
download | perl-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |