summaryrefslogtreecommitdiff
path: root/cv.h
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2022-07-30 21:49:07 +0200
committerJames E Keenan <jkeenan@cpan.org>2022-07-30 17:29:20 -0400
commitff5bbe677ed155d1e571d4175ba86925b353173e (patch)
tree9498cf8c72b0fa0c17520e11a49b976bb1496c4b /cv.h
parentc432f9f481035e7fd99dbaa182996c34f312fc9d (diff)
downloadperl-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.
Diffstat (limited to 'cv.h')
-rw-r--r--cv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cv.h b/cv.h
index 3115fb81f7..ac2fb82e5a 100644
--- a/cv.h
+++ b/cv.h
@@ -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 */