This might be a bit foolish but I'm trying to use ctypes to call a function that receives a complex vector as a paramter. But in ctypes there isn't a class c_complex. 
Does anybody know how to solve this?
edit: I'm refering to python's ctypes, in case there are others....
If c_complex is a C struct and you have the definition of in documentation or a header file you could utilize ctypes to compose a compatible type.  It is also possible, although less likely, that c_complex is a typdef for a type that ctypes already supports.
More information would be needed to provide a better answer...
Complex number in ctypes