Searched refs:ncallbacks (Results 1 – 1 of 1) sorted by relevance
27 int ncallbacks; member59 for (i = 0; i < modstate->ncallbacks; i++) { in atexit_cleanup()66 modstate->ncallbacks = 0; in atexit_cleanup()83 if (modstate->ncallbacks == 0) in atexit_callfuncs()87 for (i = modstate->ncallbacks - 1; i >= 0; i--) in atexit_callfuncs()141 if (modstate->ncallbacks >= modstate->callback_len) { in atexit_register()178 modstate->atexit_callbacks[modstate->ncallbacks++] = new_callback; in atexit_register()222 return PyLong_FromSsize_t(modstate->ncallbacks); in atexit_ncallbacks()233 for (i = 0; i < modstate->ncallbacks; i++) { in atexit_m_traverse()279 for (i = 0; i < modstate->ncallbacks; i++) in atexit_unregister()[all …]