Commit b2930515 authored by John Zhang's avatar John Zhang


parent 115c41f4
......@@ -16,11 +16,11 @@ def setup(n):
arr = lltype.malloc(rffi.CArray(rffi.LONGLONG), n, flavor='raw')
for i, k in enumerate(lst):
arr[i] = k
return rffi.ll2ctypes.lltype2ctypes(arr) , n
return arr, rffi.cast(lltype.Unsigned, n)
def teardown(carr, n):, carr), 'raw')
def teardown(arr, n):, 'raw')
def rand_list_of(n):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment