cmark

My personal build of CMark ✏️

Commit
c4c1d59ca29aceb1c5919908ac97d9476264fd96
Parent
9e643720ec903f3b448bd2589a0c02c2514805ae
Author
Mathieu Duponchelle <MathieuDuponchelle@users.noreply.github.com>
Date

wrapper.py: remove unused (and faulty) libc instantiation (#175)

Diffstat

1 file changed, 0 insertions, 7 deletions

Status File Name N° Changes Insertions Deletions
Modified wrappers/wrapper.py 7 0 7
diff --git 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: