test / modules /dml /pdh /msvcrt.py
bilegentile's picture
Upload folder using huggingface_hub
c19ca42 verified
raw
history blame contribute delete
217 Bytes
from ctypes import CDLL, c_void_p, c_size_t
msvcrt = CDLL("msvcrt")
malloc = msvcrt.malloc
malloc.restype = c_void_p
malloc.argtypes = [c_size_t]
free = msvcrt.free
free.restype = None
free.argtypes = [c_void_p]