示例#1
0
 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
def gc_delalloc(items, type):
    p = gc.boehm_malloc(items * sizeof(type))

    return cast(p, Pointer[type])