python: Fix like three thinko bugs but it works now.

windows-high-dpi
Doug Coleman 2018-02-19 16:32:25 -06:00
parent f2a86e0bae
commit 9c72ab89b2
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ ERROR: missing-type type ;
'[ <py-cfunction> @ ] with-callback ; inline
: python-dll-loaded? ( -- ? )
"PyIsInitialized" "python2.7" library-dll dlsym? ;
"Py_IsInitialized" "python" dlsym? ;
[ python-dll-loaded? [ py-initialize ] when ] "python" add-startup-hook
[ python-dll-loaded? [ py-finalize ] when ] "python" add-shutdown-hook