Commit 8cca3e9b authored by wanli's avatar wanli

update

parent ec8d5df7
......@@ -15,9 +15,9 @@ from ctypes import *
import platform
if platform.system() == 'Windows':
pDll = CDLL("lib/eheatshrink.dll")
pDll = CDLL(os.sep.join([os.path.abspath(__file__), "lib", "eheatshrink.dll"]))
elif platform.system() == 'Linux':
pDll = CDLL("lib/libeheatshrink.so")
pDll = CDLL(os.sep.join([os.path.abspath(__file__), "lib", "libeheatshrink.so"]))
pDll.ecompress_size.restype = c_uint32
pDll.ecompress_size.argtypes = [c_void_p, c_uint32]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment