diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-12-27 14:32:59 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-12-27 21:12:13 +0000 |
commit | 31b9005d8ff165a414c5e3493027e1656d7e810f (patch) | |
tree | a220586ab1cb200072527680d3bc00f88bbf6bd4 /proto.h | |
parent | 553e831a35acc518a30a7514866e0d1440e894ef (diff) | |
download | perl-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 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6577,6 +6577,12 @@ PERL_CALLCONV void Perl_mro_register(pTHX_ const struct mro_alg *mro) #define PERL_ARGS_ASSERT_MRO_REGISTER \ assert(mro) +PERL_CALLCONV void Perl_mro_set_mro(pTHX_ struct mro_meta *const meta, SV *const name) + __attribute__nonnull__(pTHX_1) + __attribute__nonnull__(pTHX_2); +#define PERL_ARGS_ASSERT_MRO_SET_MRO \ + assert(meta); assert(name) + PERL_CALLCONV struct mro_meta* Perl_mro_meta_init(pTHX_ HV* stash) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_MRO_META_INIT \ |