Home
last modified time | relevance | path

Searched refs:modstate (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Modules/
Datexitmodule.c35 atexit_delete_cb(atexitmodule_state *modstate, int i) in atexit_delete_cb() argument
39 cb = modstate->atexit_callbacks[i]; in atexit_delete_cb()
40 modstate->atexit_callbacks[i] = NULL; in atexit_delete_cb()
49 atexit_cleanup(atexitmodule_state *modstate) in atexit_cleanup() argument
53 for (i = 0; i < modstate->ncallbacks; i++) { in atexit_cleanup()
54 cb = modstate->atexit_callbacks[i]; in atexit_cleanup()
58 atexit_delete_cb(modstate, i); in atexit_cleanup()
60 modstate->ncallbacks = 0; in atexit_cleanup()
70 atexitmodule_state *modstate; in atexit_callfuncs() local
75 modstate = GET_ATEXIT_STATE(module); in atexit_callfuncs()
[all …]