Skip to content

Commit f5dac12

Browse files
Fix PyABIInfo_VAR macro
1 parent aea5531 commit f5dac12

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Include/modsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ PyAPI_FUNC(int) PyABIInfo_Check(PyABIInfo *info, const char *module_name);
140140
/////////////////////////////////////////////////////////
141141

142142
#define PyABIInfo_VAR(NAME) \
143-
static PyABIInfo NAME = _PyABIInfo_DEFAULT;
143+
static PyABIInfo NAME = _PyABIInfo_DEFAULT();
144144

145145
#undef _PyABIInfo_DEFAULT_STABLE
146146
#undef _PyABIInfo_DEFAULT_FT
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed the :c:macro:`PyABIInfo_VAR` macro.

0 commit comments

Comments
 (0)