#define _RESOLVE_MODINIT_FUNC_NAME(NAME) …
#define RESOLVE_MODINIT_FUNC_NAME(NAME) …
static int
ensure_xid_class(PyTypeObject *cls, crossinterpdatafunc getdata)
{ … }
#ifdef REGISTERS_HEAP_TYPES
static int
clear_xid_class(PyTypeObject *cls)
{
return _PyCrossInterpreterData_UnregisterClass(cls);
}
#endif
static inline int64_t
_get_interpid(_PyCrossInterpreterData *data)
{ … }
#ifdef HAS_UNBOUND_ITEMS
#define UNBOUND_REMOVE …
#define UNBOUND_ERROR …
#define UNBOUND_REPLACE …
static int
check_unbound(int unboundop)
{
switch (unboundop) {
case UNBOUND_REMOVE:
case UNBOUND_ERROR:
case UNBOUND_REPLACE:
return 1;
default:
return 0;
}
}
#endif