예제 #1
0
 def __init__(self):
     self.p = ffi.malloc(20, Pointer[void])
예제 #2
0
파일: test_ffi.py 프로젝트: filmackay/flypy
 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])