]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - lib/Sub/Op.pm
Rename sub_op_keyword to sub_op_config_t
[perl/modules/Sub-Op.git] / lib / Sub / Op.pm
index 6459b04c3b64a6977746d416ee9c17cae833da23..877cf3123c4a64ec15272a76b3ae29773155f60b 100644 (file)
@@ -49,13 +49,13 @@ In your XS file :
 
     BOOT:
     {
-     sub_op_keyword k;
-     k.name  = "reftype";
-     k.len   = sizeof("reftype")-1;
-     k.pp    = scalar_util_reftype;
-     k.check = 0;
-     k.ud    = NULL;
-     sub_op_register(aTHX_ &k);
+     sub_op_config_t c;
+     c.name  = "reftype";
+     c.len   = sizeof("reftype")-1;
+     c.pp    = scalar_util_reftype;
+     c.check = 0;
+     c.ud    = NULL;
+     sub_op_register(aTHX_ &c);
     }
 
 In your Perl module file :