Skip to content

Commit 9c861ae

Browse files
Update init.c
1 parent 05db390 commit 9c861ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mypyc/lib-rt/init.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
struct ExcDummyStruct _CPy_ExcDummyStruct = { PyObject_HEAD_INIT(NULL) };
55
PyObject *_CPy_ExcDummy = (PyObject *)&_CPy_ExcDummyStruct;
66

7+
// System-wide empty tuple constant
8+
PyObject * __mypyc_empty_tuple__ = NULL;
9+
710
// Because its dynamic linker is more restricted than linux/OS X,
811
// Windows doesn't allow initializing globals with values from
912
// other dynamic libraries. This means we need to initialize

0 commit comments

Comments
 (0)