summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2021-04-26 16:09:37 +0200
committerStefan Behnel <stefan_ml@behnel.de>2021-04-26 16:09:37 +0200
commit4e45cc92ec4a7d6109c65908f2e47b80881a0f30 (patch)
tree900279666756ec7c8438c72b2a41130e727f34dd
parentdf9c0b0986b819350cd7537410cf6bf1ee362580 (diff)
downloadcython-4e45cc92ec4a7d6109c65908f2e47b80881a0f30.tar.gz
Fix accidental condition inversion from the last master merge.
-rw-r--r--Cython/Compiler/Nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py
index 189c1f249..3c4ecafff 100644
--- a/Cython/Compiler/Nodes.py
+++ b/Cython/Compiler/Nodes.py
@@ -5468,7 +5468,7 @@ class CClassDefNode(ClassDefNode):
type.vtabptr_cname,
))
# TODO: find a way to make this work with the Limited API!
- code.putln("#if CYTHON_COMPILING_IN_LIMITED_API")
+ code.putln("#if !CYTHON_COMPILING_IN_LIMITED_API")
code.globalstate.use_utility_code(
UtilityCode.load_cached('MergeVTables', 'ImportExport.c'))
code.put_error_if_neg(entry.pos, "__Pyx_MergeVtables(%s)" % typeptr_cname)