provide no_gc_clear decorator in pure mode
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 9 Aug 2013 07:05:28 +0000 (09:05 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 9 Aug 2013 07:05:28 +0000 (09:05 +0200)
Cython/Shadow.py

index 10dfce8..0cf7917 100644 (file)
@@ -97,7 +97,7 @@ cclass = ccall = cfunc = _EmptyDecoratorAndManager()
 
 returns = lambda type_arg: _EmptyDecoratorAndManager()
 
-final = internal = type_version_tag = _empty_decorator
+final = internal = type_version_tag = no_gc_clear = _empty_decorator
 
 def inline(f, *args, **kwds):
   if isinstance(f, basestring):