Searched refs:ncallbacks (Results 1 – 1 of 1) sorted by relevance
27 int ncallbacks; member53 for (i = 0; i < modstate->ncallbacks; i++) { in atexit_cleanup()60 modstate->ncallbacks = 0; in atexit_cleanup()77 if (modstate->ncallbacks == 0) in atexit_callfuncs()81 for (i = modstate->ncallbacks - 1; i >= 0; i--) in atexit_callfuncs()135 if (modstate->ncallbacks >= modstate->callback_len) { in atexit_register()172 modstate->atexit_callbacks[modstate->ncallbacks++] = new_callback; in atexit_register()216 return PyLong_FromSsize_t(modstate->ncallbacks); in atexit_ncallbacks()227 for (i = 0; i < modstate->ncallbacks; i++) { in atexit_m_traverse()278 for (i = 0; i < modstate->ncallbacks; i++) in atexit_unregister()[all …]