X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Op.git;a=blobdiff_plain;f=lib%2FSub%2FOp.pm;h=6b421c4be5a17f3f6b3a9a2f91e63386c48f53b5;hp=c075bbb8612aae2b8fe7502139a8ad8419116341;hb=a0c0873977f66d8024a988b8dbd8e1c092927189;hpb=b3165ff1ee361406e421b31334adc2434aa94ac1 diff --git a/lib/Sub/Op.pm b/lib/Sub/Op.pm index c075bbb..6b421c4 100644 --- a/lib/Sub/Op.pm +++ b/lib/Sub/Op.pm @@ -50,11 +50,11 @@ In your XS file : BOOT: { sub_op_config_t c; - c.name = "reftype"; - c.len = sizeof("reftype")-1; - c.pp = scalar_util_reftype; - c.check = 0; - c.ud = NULL; + c.name = "reftype"; + c.namelen = sizeof("reftype")-1; + c.pp = scalar_util_reftype; + c.check = 0; + c.ud = NULL; sub_op_register(aTHX_ &c); } @@ -215,7 +215,7 @@ Allowed to be static. =item * -C +C C's length, in bytes.