From: Robert Bradshaw Date: Tue, 21 Jul 2009 07:34:09 +0000 (-0700) Subject: Better CYTHON_TRACING macro. X-Git-Tag: 0.12.alpha0~224^2~1^2^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b10f1677972a65712ec0d6d5123d6e72b47cdeb1;p=cython.git Better CYTHON_TRACING macro. --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index a0ee977c..efba286b 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -5788,8 +5788,13 @@ proto=""" # but maybe some other profilers don't. trace_utility_code = UtilityCode(proto=""" +#ifndef CYTHON_TRACING #define CYTHON_TRACING 1 +#endif + +#ifndef CYTHON_TRACING_REUSE_FRAME #define CYTHON_TRACING_REUSE_FRAME 0 +#endif #if CYTHON_TRACING