[Jifty-commit] r5461 - Runops-Trace/trunk

Jifty commits jifty-commit at lists.jifty.org
Tue May 13 11:13:45 EDT 2008


Author: nothingmuch
Date: Tue May 13 11:13:37 2008
New Revision: 5461

Modified:
   Runops-Trace/trunk/   (props changed)
   Runops-Trace/trunk/Trace.xs

Log:
 r80560 at dhcp117:  nothingmuch | 2008-05-13 17:46:55 +0900
 use the STATIC macro like perl code uses, I think it's for portability


Modified: Runops-Trace/trunk/Trace.xs
==============================================================================
--- Runops-Trace/trunk/Trace.xs	(original)
+++ Runops-Trace/trunk/Trace.xs	Tue May 13 11:13:37 2008
@@ -10,22 +10,22 @@
 
 int (*Runops_Trace_hook)(pTHX);
 
-static HV *Runops_Trace_op_counters;
+STATIC HV *Runops_Trace_op_counters;
 
-static int Runops_Trace_enabled;
-static UV Runops_Trace_threshold = 0;
+STATIC int Runops_Trace_enabled;
+STATIC UV Runops_Trace_threshold = 0;
 
-static SV *Runops_Trace_perl_hook;
-static int Runops_Trace_perl_ignore_ret = 1;
+STATIC SV *Runops_Trace_perl_hook;
+STATIC int Runops_Trace_perl_ignore_ret = 1;
 
-static int Runops_Trace_loaded_B;
-static GV *Runops_Trace_B_UNOP_stash;
-static UNOP Runops_Trace_fakeop;
-static SV *Runops_Trace_fakeop_sv;
+STATIC int Runops_Trace_loaded_B;
+STATIC GV *Runops_Trace_B_UNOP_stash;
+STATIC UNOP Runops_Trace_fakeop;
+STATIC SV *Runops_Trace_fakeop_sv;
 
 /* op_type is 9 bits wide */
 #define OPMASK_SIZE (1 << 9) - 1
-static bool *Runops_Trace_mask;
+STATIC bool *Runops_Trace_mask;
 
 #define ARITY_NULL 0
 #define ARITY_UNARY 1
@@ -141,7 +141,7 @@
   }
 }
 
-static AV *
+STATIC AV *
 av_make_with_refs(pTHX_ SV**from, SV**to) {
   SV **i;
   AV *av = newAV();


More information about the Jifty-commit mailing list