gh-109599: Expose CapsuleType via the _types module (#131969)

This commit is contained in:
Adam Turner 2025-04-04 23:37:41 +01:00 committed by GitHub
parent 7473c600a5
commit 231a50fa9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 82 additions and 12 deletions

28
configure generated vendored
View file

@ -783,6 +783,8 @@ MODULE__INTERPRETERS_FALSE
MODULE__INTERPRETERS_TRUE
MODULE__TYPING_FALSE
MODULE__TYPING_TRUE
MODULE__TYPES_FALSE
MODULE__TYPES_TRUE
MODULE__STRUCT_FALSE
MODULE__STRUCT_TRUE
MODULE_SELECT_FALSE
@ -31008,6 +31010,28 @@ then :
fi
if test "$py_cv_module__types" != "n/a"
then :
py_cv_module__types=yes
fi
if test "$py_cv_module__types" = yes; then
MODULE__TYPES_TRUE=
MODULE__TYPES_FALSE='#'
else
MODULE__TYPES_TRUE='#'
MODULE__TYPES_FALSE=
fi
as_fn_append MODULE_BLOCK "MODULE__TYPES_STATE=$py_cv_module__types$as_nl"
if test "x$py_cv_module__types" = xyes
then :
fi
@ -33723,6 +33747,10 @@ if test -z "${MODULE__STRUCT_TRUE}" && test -z "${MODULE__STRUCT_FALSE}"; then
as_fn_error $? "conditional \"MODULE__STRUCT\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${MODULE__TYPES_TRUE}" && test -z "${MODULE__TYPES_FALSE}"; then
as_fn_error $? "conditional \"MODULE__TYPES\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${MODULE__TYPING_TRUE}" && test -z "${MODULE__TYPING_FALSE}"; then
as_fn_error $? "conditional \"MODULE__TYPING\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5