Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python.c322 char *callable, *module_name; in nxt_python_set_target() local
339 module_name = nxt_alloca(str.length + 1); in nxt_python_set_target()
340 nxt_memcpy(module_name, str.start, str.length); in nxt_python_set_target()
341 module_name[str.length] = '\0'; in nxt_python_set_target()
343 module = PyImport_ImportModule(module_name); in nxt_python_set_target()
345 nxt_alert(task, "Python failed to import module \"%s\"", module_name); in nxt_python_set_target()
366 callable, module_name); in nxt_python_set_target()
372 callable, module_name); in nxt_python_set_target()