summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Barbon <mbarbon@dsi.unive.it>2002-01-15 22:59:19 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-15 20:06:49 +0000
commit76555ca36e45bbec899cfa02b3b906b3689f2d74 (patch)
treefc0d506b55c05463c9e9851a86e40aadea457a6e
parent028b3442bd47260167ca703340e00346524638a6 (diff)
downloadperl-76555ca36e45bbec899cfa02b3b906b3689f2d74.tar.gz
Add Slab_Free to embed.fnc
Message-ID: <3C44A637.16602.25EB208@localhost> p4raw-id: //depot/perl@14292
-rw-r--r--embed.fnc1
-rw-r--r--embed.h2
-rw-r--r--proto.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 7f71e156db..2388e32257 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -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
diff --git a/embed.h b/embed.h
index b6ee614843..bbae4f1e70 100644
--- a/embed.h
+++ b/embed.h
@@ -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)
diff --git a/proto.h b/proto.h
index af62a358a1..fc67d8eafa 100644
--- a/proto.h
+++ b/proto.h
@@ -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