Browse Source

add notes to find_library_nt function

akkariiin/dev
Akkariiin 7 years ago
parent
commit
ef3e455739
  1. 7
      shadowsocks/crypto/util.py

7
shadowsocks/crypto/util.py

@ -22,6 +22,13 @@ import logging
def find_library_nt(name): def find_library_nt(name):
# type: (str) -> list
"""
find lib in windows in all the directory in path env
:param name: can end with `.dll` or not
:return: lib results list
"""
# modified from ctypes.util # modified from ctypes.util
# ctypes.util.find_library just returns first result he found # ctypes.util.find_library just returns first result he found
# but we want to try them all # but we want to try them all

Loading…
Cancel
Save