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