diff options
author | Leon Timmermans <fawaka@gmail.com> | 2022-07-30 21:49:07 +0200 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2022-07-30 17:29:20 -0400 |
commit | ff5bbe677ed155d1e571d4175ba86925b353173e (patch) | |
tree | 9498cf8c72b0fa0c17520e11a49b976bb1496c4b | |
parent | c432f9f481035e7fd99dbaa182996c34f312fc9d (diff) | |
download | perl-ff5bbe677ed155d1e571d4175ba86925b353173e.tar.gz |
Fix typo in CvMETHOD_off definition
The definition uses the wrong name for the argument (off instead of cv), and
therefore causes compilation failures.
-rw-r--r-- | cv.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ See L<perlguts/Autoloading with XSUBs>. # define CVf_METHOD CVf_NOWARN_AMBIGUOUS # define CvMETHOD(cv) CvNOWARN_AMBIGUOUS(cv) # define CvMETHOD_on(cv) CvNOWARN_AMBIGUOUS_on(cv) -# define CvMETHOD_off(cv) CvNOWARN_AMBIGUOUS_off(off) +# define CvMETHOD_off(cv) CvNOWARN_AMBIGUOUS_off(cv) #endif /* Flags for newXS_flags */ |