]> git.vpit.fr Git - perl/modules/Sub-Op.git/blob - sub_op.h
Rename the "len" member of the sub_op_config_t struct to "namelen"
[perl/modules/Sub-Op.git] / sub_op.h
1 /* This file is part of the Sub::Op Perl module.
2  * See http://search.cpan.org/dist/Sub-Op/ */
3
4 #ifndef SUB_OP_H
5 #define SUB_OP_H 1
6
7 typedef OP *(*sub_op_check_t)(pTHX_ OP *, void *);
8
9 typedef struct {
10  const char    *name;
11  STRLEN         namelen;
12  Perl_ppaddr_t  pp;
13  sub_op_check_t check;
14  void          *ud;
15 } sub_op_config_t;
16
17 void sub_op_register(pTHX_ const sub_op_config_t *c);
18
19 #endif /* SUB_OP_H */