Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python.c57 static wchar_t *nxt_py_home; variable
59 static char *nxt_py_home; variable
121 nxt_py_home = nxt_malloc(size); in nxt_python_start()
122 if (nxt_slow_path(nxt_py_home == NULL)) { in nxt_python_start()
128 mbstowcs(nxt_py_home, c->home, len); in nxt_python_start()
130 Py_SetProgramName(nxt_py_home); in nxt_python_start()
134 Py_SetPythonHome(nxt_py_home); in nxt_python_start()
138 nxt_py_home = nxt_malloc(len + 1); in nxt_python_start()
145 Py_SetPythonHome(nxt_py_home); in nxt_python_start()
688 if (nxt_py_home != NULL) { in nxt_python_atexit()
[all …]