Commit 231aabfb authored by Vitja Makarov's avatar Vitja Makarov

Add Entry.cf_used attribute

parent d0d64d84
...@@ -127,6 +127,7 @@ class Entry(object): ...@@ -127,6 +127,7 @@ class Entry(object):
# Currently only supported for CythonScope entries. # Currently only supported for CythonScope entries.
# error_on_uninitialized Have Control Flow issue an error when this entry is # error_on_uninitialized Have Control Flow issue an error when this entry is
# used uninitialized # used uninitialized
# cf_used boolean Entry is used
inline_func_in_pxd = False inline_func_in_pxd = False
borrowed = 0 borrowed = 0
...@@ -182,6 +183,7 @@ class Entry(object): ...@@ -182,6 +183,7 @@ class Entry(object):
in_with_gil_block = 0 in_with_gil_block = 0
from_cython_utility_code = None from_cython_utility_code = None
error_on_uninitialized = False error_on_uninitialized = False
cf_used = True
def __init__(self, name, cname, type, pos = None, init = None): def __init__(self, name, cname, type, pos = None, init = None):
self.name = name self.name = name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment