mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
API change: added void *user_data to mg_start(). Bumped version to 3.0
This commit is contained in:
1 parent
7034f49276
commit
11951a57ff
5 files changed
+14
-8
No files matched your search
@@ -144,7 +144,7 @@ class Mongoose(object):
|
||||
args = [y for x in kwargs.items() for y in x] + [None]
|
||||
options = (ctypes.c_char_p * len(args))(*args)
|
||||
|
||||
ret = self.dll.mg_start(self.callback, options)
|
||||
ret = self.dll.mg_start(self.callback, 0, options)
|
||||
self.ctx = ctypes.c_void_p(ret)
|
||||
|
||||
def __del__(self):
|
||||
|
||||
Reference in new issue
Block a user