X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Plugin.h;h=ff8b42eed155f1d4c577618d03a81112c2273388;hb=e20ad0b3c8306a73e1a0e0a1c5f88d6e84e3583e;hp=7fc63d43760d11933b9cfc86c38fe6a9aa5c22a9;hpb=47afe57f6afc7b312d1da725bb38f99ae70b157a;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/Plugin.h b/Plugin.h index 7fc63d4..ff8b42e 100644 --- a/Plugin.h +++ b/Plugin.h @@ -4,10 +4,10 @@ /* re__engine__Plugin self; SELF_FROM_PPRIVATE(self,rx->pprivate) */ #define SELF_FROM_PPRIVATE(self, pprivate) \ - if (sv_isobject(pprivate)) { \ + if (sv_isobject(pprivate)) { \ SV * ref = SvRV((SV*)pprivate); \ - IV tmp = SvIV((SV*)ref); \ - self = INT2PTR(re__engine__Plugin,tmp); \ + IV tmp = SvIV((SV*)ref); \ + self = INT2PTR(re__engine__Plugin,tmp); \ } else { \ Perl_croak(aTHX_ "Not an object"); \ }