From f6fc539df96b2d79759253f63a66ec9e5598bff0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 9 May 2024 09:48:11 -0400 Subject: [PATCH] Remove disused recvmsg ctypes wrapper Since going to builtin python recvmsg, remove the ctypes wrapper. --- confluent_client/confluent/tlvdata.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/confluent_client/confluent/tlvdata.py b/confluent_client/confluent/tlvdata.py index 20b449c0..629687d6 100644 --- a/confluent_client/confluent/tlvdata.py +++ b/confluent_client/confluent/tlvdata.py @@ -97,10 +97,6 @@ class ClientFile(object): self.filename = name -libc = ctypes.CDLL(ctypes.util.find_library('c')) -recvmsg = libc.recvmsg -recvmsg.argtypes = [ctypes.c_int, ctypes.POINTER(msghdr), ctypes.c_int] -recvmsg.restype = ctypes.c_int def _sendmsg(loop, fut, sock, msg, fds, rfd):