diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-26 10:08:58 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-29 00:20:59 -0700 |
commit | be49fd9f9c5b1a5632988410e5c38c5558a9794c (patch) | |
tree | 5135922eb581bccb63d0172d73f40d9f591ccaef /cv.h | |
parent | 7d82c9ce7c2bfa3a12c9a63cdbf316426bfee222 (diff) | |
download | perl-be49fd9f9c5b1a5632988410e5c38c5558a9794c.tar.gz |
Define cv_forget_slab under PL_OP_SLAB_ALLOC
Instead of using #ifndef every time we call cv_forget_slab, just
define it as a no-op under PL_OP_SLAB_ALLOC.
Diffstat (limited to 'cv.h')
-rw-r--r-- | cv.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -191,6 +191,10 @@ See L<perlguts/Autoloading with XSUBs>. /* Flags for newXS_flags */ #define XS_DYNAMIC_FILENAME 0x01 /* The filename isn't static */ +#ifdef PL_OP_SLAB_ALLOC +# define cv_forget_slab(cv) NOOP +#endif + /* =head1 CV reference counts and CvOUTSIDE |