from ctypes import *
fd = cdll.LoadLibrary('float.dll')
fd.floatarr.argtypes = [POINTER(c_int), POINTER(POINTER(c_float))]
fpp = POINTER(c_float)()
ip = c_int(0)
fd.floatarr(pointer(ip), pointer(fpp))
print(ip)
print(fpp[0])
print(fpp[1])
Accessing the content of a variable array with ctypes