diff options
author | Mattia Barbon <mbarbon@dsi.unive.it> | 2002-01-15 22:59:19 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-15 20:06:49 +0000 |
commit | 76555ca36e45bbec899cfa02b3b906b3689f2d74 (patch) | |
tree | fc0d506b55c05463c9e9851a86e40aadea457a6e | |
parent | 028b3442bd47260167ca703340e00346524638a6 (diff) | |
download | perl-76555ca36e45bbec899cfa02b3b906b3689f2d74.tar.gz |
Add Slab_Free to embed.fnc
Message-ID: <3C44A637.16602.25EB208@localhost>
p4raw-id: //depot/perl@14292
-rw-r--r-- | embed.fnc | 1 | ||||
-rw-r--r-- | embed.h | 2 | ||||
-rw-r--r-- | proto.h | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -1009,6 +1009,7 @@ s |void |apply_attrs |HV *stash|SV *target|OP *attrs|bool for_my s |void |apply_attrs_my |HV *stash|OP *target|OP *attrs|OP **imopsp # if defined(PL_OP_SLAB_ALLOC) s |void* |Slab_Alloc |int m|size_t sz +s |void |Slab_Free |void *op # endif #endif @@ -938,6 +938,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) @@ -2481,6 +2482,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) @@ -1045,6 +1045,7 @@ STATIC void S_apply_attrs(pTHX_ HV *stash, SV *target, OP *attrs, bool for_my); STATIC void S_apply_attrs_my(pTHX_ HV *stash, OP *target, OP *attrs, OP **imopsp); # if defined(PL_OP_SLAB_ALLOC) STATIC void* S_Slab_Alloc(pTHX_ int m, size_t sz); +STATIC void S_Slab_Free(pTHX_ void *op); # endif #endif |