summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-27 14:32:59 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-27 21:12:13 +0000
commit31b9005d8ff165a414c5e3493027e1656d7e810f (patch)
treea220586ab1cb200072527680d3bc00f88bbf6bd4 /embed.fnc
parent553e831a35acc518a30a7514866e0d1440e894ef (diff)
downloadperl-31b9005d8ff165a414c5e3493027e1656d7e810f.tar.gz
Break out the set-the-MRO logic from the XS_mro_set_mro into Perl_mro_set_mro(),
which can be called from C code (such as the guts of extensions).
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 35e80ec8a0..c76ca9d205 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2191,6 +2191,8 @@ Aop |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
|NN SV *const data
Aop |const struct mro_alg *|mro_get_from_name|NN SV *name
Aop |void |mro_register |NN const struct mro_alg *mro
+Aop |void |mro_set_mro |NN struct mro_meta *const meta \
+ |NN SV *const name
: Used in HvMROMETA(), which is public.
Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
#if defined(USE_ITHREADS)