From c4c1d59ca29aceb1c5919908ac97d9476264fd96 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sat, 24 Dec 2016 17:14:32 +0100 Subject: wrapper.py: remove unused (and faulty) libc instantiation (#175) --- wrappers/wrapper.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'wrappers') diff --git a/wrappers/wrapper.py b/wrappers/wrapper.py index 7ef032a..1b3cb0a 100644 --- a/wrappers/wrapper.py +++ b/wrappers/wrapper.py @@ -6,13 +6,6 @@ import platform c_object_p = POINTER(c_void_p) -sysname = platform.system() - -if sysname == 'Windows': - libc = CDLL('msvcrt.dll') -else: - libc = CDLL('libc.so.6') - if sys.version_info[0] > 2: def bytes_and_length(text): if type(text) == str: -- cgit v1.2.3