Use more general filename list type

This commit is contained in:
Guilhem Lavaux 2014-11-21 14:21:07 +01:00
parent 58a39416e7
commit df50699799

View File

@ -301,7 +301,7 @@ It loads a gadget-1 snapshot and return a PySimulationBase object. If cpu_id is
return _PySimulationAdaptor(wrap_simudata(data, flags)) return _PySimulationAdaptor(wrap_simudata(data, flags))
def loadParallelGadget(list filename_list, bool loadPosition = True, bool loadVelocity = False, bool loadId = False, bool loadType = False, bool loadMass=False): def loadParallelGadget(object filename_list, bool loadPosition = True, bool loadVelocity = False, bool loadId = False, bool loadType = False, bool loadMass=False):
cdef int flags, i, num_files cdef int flags, i, num_files
cdef list out_arrays cdef list out_arrays
cdef SimuData ** data cdef SimuData ** data