Ines.Klimann@liafa.jussieu.fr writes:
> complexe * complex_in(float x, float y)
> {
> complexe *result;
> result = (complexe *)palloc(sizeof(complexe));
> result->x = x;
> result->y = y;
> return (result);
> }
A datatype's input routine has to accept a string (char *).
regards, tom lane