This is an automated email from the ASF dual-hosted git repository.

gsim pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/dev-protocol-adaptors-2 by 
this push:
     new d18314a  DISPATCH-1832: ensure correct signature for deletion 
functions to avoid mangling of pointer
d18314a is described below

commit d18314a110f7465604eb993a400d5d2c91f2b950
Author: Gordon Sim <g...@redhat.com>
AuthorDate: Wed Nov 11 22:19:11 2020 +0000

    DISPATCH-1832: ensure correct signature for deletion functions to avoid 
mangling of pointer
---
 python/qpid_dispatch_internal/dispatch.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/python/qpid_dispatch_internal/dispatch.py 
b/python/qpid_dispatch_internal/dispatch.py
index 7434365..b4517f1 100644
--- a/python/qpid_dispatch_internal/dispatch.py
+++ b/python/qpid_dispatch_internal/dispatch.py
@@ -71,6 +71,10 @@ class QdDll(ctypes.PyDLL):
         self._prototype(self.qd_dispatch_configure_tcp_connector, 
ctypes.c_void_p, [self.qd_dispatch_p, py_object])
         self._prototype(self.qd_dispatch_configure_http_listener, 
ctypes.c_void_p, [self.qd_dispatch_p, py_object])
         self._prototype(self.qd_dispatch_configure_http_connector, 
ctypes.c_void_p, [self.qd_dispatch_p, py_object])
+        self._prototype(self.qd_dispatch_delete_tcp_listener, None, 
[self.qd_dispatch_p, ctypes.c_void_p])
+        self._prototype(self.qd_dispatch_delete_tcp_connector, None, 
[self.qd_dispatch_p, ctypes.c_void_p])
+        self._prototype(self.qd_dispatch_delete_http_listener, None, 
[self.qd_dispatch_p, ctypes.c_void_p])
+        self._prototype(self.qd_dispatch_delete_http_connector, None, 
[self.qd_dispatch_p, ctypes.c_void_p])
         self._prototype(self.qd_connection_manager_delete_listener, None, 
[self.qd_dispatch_p, ctypes.c_void_p])
         self._prototype(self.qd_connection_manager_delete_connector, None, 
[self.qd_dispatch_p, ctypes.c_void_p])
         self._prototype(self.qd_connection_manager_delete_ssl_profile, 
ctypes.c_bool, [self.qd_dispatch_p, ctypes.c_void_p])


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to