From acaa60703cd10691c45e3a9ea98ac9116f9599da Mon Sep 17 00:00:00 2001 From: lyon1998 Date: Mon, 18 Apr 2022 18:05:45 +0800 Subject: [PATCH] update ctypes --- package/ctypes/ctypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ctypes/ctypes.py b/package/ctypes/ctypes.py index 2a9ba54ce..4d25e7e3d 100644 --- a/package/ctypes/ctypes.py +++ b/package/ctypes/ctypes.py @@ -32,4 +32,4 @@ class c_longdouble(c_float):... class Test(TinyObj): def add(self, c_uint1:c_uint, c_uint2:c_uint)->int:... - def dc_cpuapdu_hex(self, slen:int, sendbuf:str, rlen:c_uint, rcvbuf:c_wchar_p) -> int:... + def dc_cpuapdu_hex(self, slen:int, sendbuf:str, rlen:c_uint, rcvbuf:c_char_p) -> int:...