Fixed python bindings

This commit is contained in:
Sergey Lyubka committed 2012-10-07 16:26:04 +01:00
1 parent 038f8823f1
commit 6205e69ab2
2 files changed
+9 -13

No files matched your search

-4
View File
@@ -135,10 +135,6 @@ class Mongoose(object):
self.dll.mg_get_cookie.restype = ctypes.c_int
self.dll.mg_get_option.restype = ctypes.c_char_p
self.dll.mg_get_request_info.restype = ctypes.POINTER(mg_request_info)
self.dll.mg_get_user_data.restype = ctypes.c_void_p
self.dll.mg_get_reply_status_code.restype = ctypes.c_int
self.dll.mg_get_log_message.restype = ctypes.c_char_p
self.dll.mg_get_ssl_context.restype = ctypes.c_void_p
if callback:
# Create a closure that will be called by the shared library.