diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-09-14 10:12:33 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-14 22:29:46 -0700 |
commit | bb5a0ddc2479daec4187d55d77d2e37d4aad78bb (patch) | |
tree | 7aebde2f918291c90faba2dea71016a81cdfd254 /perly.h | |
parent | 2f8e87a8913461b1a55ef9ecbf91d7846701cf35 (diff) | |
download | perl-bb5a0ddc2479daec4187d55d77d2e37d4aad78bb.tar.gz |
cop.h: Remove obsolete comment
623e6609 (2 Apr 2006) added this to cop.h:
+/* FIXME NATIVE_HINTS if this is changed from op_private (see perl.h) */
+#define CopHINTS_get(c) ((c)->op_private + 0)
+#define CopHINTS_set(c, h) STMT_START { \
+ (c)->op_private \
+ = (U8)((h) & HINT_PRIVATE_MASK); \
+ } STMT_END
+
d5ec2987 (20 May 2006) made this change, ignoring the FIXME:
/* FIXME NATIVE_HINTS if this is changed from op_private (see perl.h) */
-#define CopHINTS_get(c) ((c)->op_private + 0)
+#define CopHINTS_get(c) ((c)->cop_hints + 0)
#define CopHINTS_set(c, h) STMT_START { \
- (c)->op_private \
- = (U8)((h) & HINT_PRIVATE_MASK); \
+ (c)->cop_hints = (h); \
} STMT_END
There is nothing to be fixed here, as vmsish.h uses ->op_private
directly, instead of using the CopHINTS macros. Even having caller
return cop_hints instead of op_private doesn’t hurt, as newly-created
cops copy the vms hints from PL_hints to op_private. So assigning
(caller $n)[8] to $^H will still work.
Diffstat (limited to 'perly.h')
0 files changed, 0 insertions, 0 deletions