Searched refs:nexitfuncs (Results 1 – 3 of 3) sorted by relevance
96 int nexitfuncs; member
2408 if (_PyRuntime.nexitfuncs >= NEXITFUNCS) in Py_AtExit()2410 _PyRuntime.exitfuncs[_PyRuntime.nexitfuncs++] = func; in Py_AtExit()2417 while (runtime->nexitfuncs > 0) { in call_ll_exitfuncs()2419 runtime->nexitfuncs--; in call_ll_exitfuncs()2420 void (*exitfunc)(void) = runtime->exitfuncs[runtime->nexitfuncs]; in call_ll_exitfuncs()2421 runtime->exitfuncs[runtime->nexitfuncs] = NULL; in call_ll_exitfuncs()
1749 static int nexitfuncs = 0; variable1753 if (nexitfuncs >= NEXITFUNCS) in Py_AtExit()1755 exitfuncs[nexitfuncs++] = func; in Py_AtExit()1785 while (nexitfuncs > 0) in call_ll_exitfuncs()1786 (*exitfuncs[--nexitfuncs])(); in call_ll_exitfuncs()