mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
_mongoose.dll -> mongoose.dll, _mongoose.so -> libbmongoose.so
This commit is contained in:
1 parent
79cdb77e5d
commit
f935ef832b
2 files changed
+5
-5
No files matched your search
@@ -123,9 +123,9 @@ class Mongoose(object):
|
||||
|
||||
def __init__(self, callback, **kwargs):
|
||||
if os.name == 'nt':
|
||||
self.dll = ctypes.WinDLL('_mongoose.dll')
|
||||
self.dll = ctypes.WinDLL('mongoose.dll')
|
||||
else:
|
||||
self.dll = ctypes.CDLL('_mongoose.so')
|
||||
self.dll = ctypes.CDLL('libmongoose.so')
|
||||
|
||||
self.dll.mg_start.restype = ctypes.c_void_p
|
||||
self.dll.mg_modify_passwords_file.restype = ctypes.c_int
|
||||
|
||||
Reference in new issue
Block a user