diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-11-17 08:34:52 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-11-17 08:36:37 +0000 |
commit | 7bff8c334b79055a65ea37cb51de6d9629880b6c (patch) | |
tree | f73a3596596171fcd0a666eaafd6aedd21c2dcdd /op.h | |
parent | d90d5a3845e854b868ede5476fd329d1fb85fd46 (diff) | |
download | perl-7bff8c334b79055a65ea37cb51de6d9629880b6c.tar.gz |
Convert newSUB() to a macro wrapping Perl_newATTRSUB()
Provide a Perl_newSUB() function in mathoms.c for anyone referencing it by its
full name.
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -852,6 +852,8 @@ one of the OA_* constants from op.h. ? XopENTRY(Perl_custom_op_xop(aTHX_ o), xop_class) \ : (PL_opargs[(o)->op_type] & OA_CLASS_MASK)) +#define newSUB(f, o, p, b) Perl_newATTRSUB(aTHX_ (f), (o), (p), NULL, (b)) + #ifdef PERL_MAD # define MAD_NULL 1 # define MAD_PV 2 |