예제 #1
0
파일: test_ffi.py 프로젝트: filmackay/flypy
 def func(x):
     return ffi.sizeof(x)
예제 #2
0
파일: boehm.py 프로젝트: pombreda/flypy
def gc_delalloc(items, type):
    p = gc.boehm_malloc(items * sizeof(type))

    return cast(p, Pointer[type])
예제 #3
0
파일: boehm.py 프로젝트: jakebolewski/flypy
def gc_delalloc(items, type):
    p = gc.boehm_malloc(items * sizeof(type))

    return cast(p, Pointer[type])