]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - sub_op.h
Rename the "len" member of the sub_op_config_t struct to "namelen"
[perl/modules/Sub-Op.git] / sub_op.h
index c7fc83f0e9240e1c3fa8e5e3650bfd9e703c0e4b..77c899fcc4ac71c2a1fec859d86cf93a0ef6233d 100644 (file)
--- a/sub_op.h
+++ b/sub_op.h
@@ -8,12 +8,12 @@ typedef OP *(*sub_op_check_t)(pTHX_ OP *, void *);
 
 typedef struct {
  const char    *name;
- STRLEN         len;
+ STRLEN         namelen;
  Perl_ppaddr_t  pp;
  sub_op_check_t check;
  void          *ud;
-} sub_op_keyword;
+} sub_op_config_t;
 
-void sub_op_register(pTHX_ const sub_op_keyword *k);
+void sub_op_register(pTHX_ const sub_op_config_t *c);
 
 #endif /* SUB_OP_H */