Lines Matching refs:hinstPy3
462 static HINSTANCE hinstPy3 = 0; // Instance of python.dll variable
779 if (hinstPy3 != 0) in py3_runtime_link_init()
781 hinstPy3 = load_dll(libname); in py3_runtime_link_init()
784 if (!hinstPy3) in py3_runtime_link_init()
791 hinstPy3 = load_dll(syslibname); in py3_runtime_link_init()
797 if (!hinstPy3) in py3_runtime_link_init()
806 if ((*py3_funcname_table[i].ptr = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
809 close_dll(hinstPy3); in py3_runtime_link_init()
810 hinstPy3 = 0; in py3_runtime_link_init()
820 *ucs_from_string = symbol_from_dll(hinstPy3, "PyUnicode_FromString"); in py3_runtime_link_init()
821 *ucs_decode = symbol_from_dll(hinstPy3, "PyUnicode_Decode"); in py3_runtime_link_init()
822 *ucs_as_encoded_string = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
825 *ucs_from_string = symbol_from_dll(hinstPy3, "PyUnicodeUCS2_FromString"); in py3_runtime_link_init()
826 *ucs_decode = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
828 *ucs_as_encoded_string = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
833 *ucs_from_string = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
835 *ucs_decode = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
837 *ucs_as_encoded_string = symbol_from_dll(hinstPy3, in py3_runtime_link_init()
844 close_dll(hinstPy3); in py3_runtime_link_init()
845 hinstPy3 = 0; in py3_runtime_link_init()
983 if (hinstPy3) in python3_end()
1000 return (hinstPy3 != 0); in python3_loaded()
1038 hinst = hinstPy3; in reset_stdin()