Example #1
0
 def __init__(self):
     self.p = ffi.malloc(20, Pointer[void])
Example #2
0
 def f():
     p = ffi.malloc(cast(2, types.int64), types.int32)
     p[0] = 4
     p[1] = 5
     return p
Example #3
0
 def __init__(self):
     self.p = ffi.malloc(20, Pointer[void])