]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/commitdiff
Tabs vs spaces
authorVincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:08:26 +0000 (02:08 +0100)
committerVincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:09:44 +0000 (02:09 +0100)
Plugin.h
Plugin.xs

index 7fc63d43760d11933b9cfc86c38fe6a9aa5c22a9..ff8b42eed155f1d4c577618d03a81112c2273388 100644 (file)
--- 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");                   \
     }
index 1e6a73ba46ea61ac9b5a4946b2a7251b5b8b0db3..7c01ad5364e2a63d7ba09d5c11446824ce6412df 100644 (file)
--- a/Plugin.xs
+++ b/Plugin.xs
@@ -318,7 +318,7 @@ Plugin_comp(pTHX_ SV * const pattern, U32 flags)
      * in between */
     if (h->exec) {
         re->cb_exec = h->exec;
-       SvREFCNT_inc_simple_void_NN(h->exec);
+        SvREFCNT_inc_simple_void_NN(h->exec);
     }
 
     re->cb_num_capture_buff_FETCH  = NULL;
@@ -634,7 +634,7 @@ STATIC U32 rep_booted = 0;
 
 /* --- XS ------------------------------------------------------------------ */
 
-MODULE = re::engine::Plugin    PACKAGE = re::engine::Plugin
+MODULE = re::engine::Plugin       PACKAGE = re::engine::Plugin
 
 PROTOTYPES: DISABLE
 
@@ -655,16 +655,16 @@ PREINIT:
     ptable *t;
 PPCODE:
     {
-       my_cxt_t ud;
-       dMY_CXT;
-       ud.tbl   = t = ptable_new();
-       ud.owner = MY_CXT.owner;
-       ptable_walk(MY_CXT.tbl, rep_ptable_clone, &ud);
+        my_cxt_t ud;
+        dMY_CXT;
+        ud.tbl   = t = ptable_new();
+        ud.owner = MY_CXT.owner;
+        ptable_walk(MY_CXT.tbl, rep_ptable_clone, &ud);
     }
     {
-       MY_CXT_CLONE;
-       MY_CXT.tbl   = t;
-       MY_CXT.owner = aTHX;
+        MY_CXT_CLONE;
+        MY_CXT.tbl   = t;
+        MY_CXT.owner = aTHX;
     }
     reap(3, rep_thread_cleanup, NULL);
     XSRETURN(0);