mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-22 08:12:46 +03:00
API change: added void *user_data to mg_start(). Bumped version to 3.0
This commit is contained in:
@@ -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