summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-05-01 21:08:34 (GMT)
committerGitHub <noreply@github.com>2023-05-01 21:08:34 (GMT)
commit59bc36aacddd5a3acd32c80c0dfd0726135a7817 (patch)
tree820c3ab005019714344dadf0f10fa9c359ea30c7 /Include
parentd448fcb0323bf00cb4ff4a1e65e8424a73b5f0d4 (diff)
downloadcpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.zip
cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.gz
cpython-59bc36aacddd5a3acd32c80c0dfd0726135a7817.tar.bz2
gh-84436: Immortalize in _PyStructSequence_InitBuiltinWithFlags() (gh-104054)
This also does some cleanup.
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_structseq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_structseq.h b/Include/internal/pycore_structseq.h
index d10a921..bd1e85c 100644
--- a/Include/internal/pycore_structseq.h
+++ b/Include/internal/pycore_structseq.h
@@ -15,7 +15,7 @@ PyAPI_FUNC(PyTypeObject *) _PyStructSequence_NewType(
PyStructSequence_Desc *desc,
unsigned long tp_flags);
-PyAPI_FUNC(int) _PyStructSequence_InitBuiltinWithFlags(
+extern int _PyStructSequence_InitBuiltinWithFlags(
PyTypeObject *type,
PyStructSequence_Desc *desc,
unsigned long tp_flags);
@@ -27,7 +27,7 @@ _PyStructSequence_InitBuiltin(PyTypeObject *type,
return _PyStructSequence_InitBuiltinWithFlags(type, desc, 0);
}
-extern void _PyStructSequence_FiniType(PyTypeObject *type);
+extern void _PyStructSequence_FiniBuiltin(PyTypeObject *type);
#ifdef __cplusplus
}