Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 1 of 1) sorted by path

/unit/src/python/
H A Dnxt_python.c403 char *callable, *module_name; in nxt_python_set_target() local
421 module_name = nxt_alloca(str.length + 1); in nxt_python_set_target()
422 nxt_memcpy(module_name, str.start, str.length); in nxt_python_set_target()
423 module_name[str.length] = '\0'; in nxt_python_set_target()
425 module = PyImport_ImportModule(module_name); in nxt_python_set_target()
427 nxt_alert(task, "Python failed to import module \"%s\"", module_name); in nxt_python_set_target()
448 callable, module_name); in nxt_python_set_target()
454 callable, module_name); in nxt_python_set_target()