Ejemplo n.º 1
0
 def func(x):
     return ffi.sizeof(x)
Ejemplo n.º 2
0
def gc_delalloc(items, type):
    p = gc.boehm_malloc(items * sizeof(type))

    return cast(p, Pointer[type])
Ejemplo n.º 3
0
def gc_delalloc(items, type):
    p = gc.boehm_malloc(items * sizeof(type))

    return cast(p, Pointer[type])