c19ca42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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]