summaryrefslogtreecommitdiff
path: root/Cython/Compiler/CythonScope.py
diff options
context:
space:
mode:
authorRobert Bradshaw <robertwb@math.washington.edu>2008-08-16 15:07:42 -0700
committerRobert Bradshaw <robertwb@math.washington.edu>2008-08-16 15:07:42 -0700
commiteb1a531e9311d10d7670855da604f494fca453aa (patch)
tree0aa4f7b9691a0657a506b5f5caae5ffd1f7b29ad /Cython/Compiler/CythonScope.py
parent2a785d75662beff2d35dfc2c2daa20729355f9b1 (diff)
downloadcython-eb1a531e9311d10d7670855da604f494fca453aa.tar.gz
Require cython: for compiler directives
Diffstat (limited to 'Cython/Compiler/CythonScope.py')
-rw-r--r--Cython/Compiler/CythonScope.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/CythonScope.py b/Cython/Compiler/CythonScope.py
index 289d5743d..d14d7c807 100644
--- a/Cython/Compiler/CythonScope.py
+++ b/Cython/Compiler/CythonScope.py
@@ -13,7 +13,7 @@ class CythonScope(ModuleScope):
self.shape_entry = self.declare_cfunction('shape',
shape_func_type,
pos=None,
- visibility='extern',
+ defining = 1,
cname='<error>')
def create_cython_scope(context):