[Ecls-list] Re: floats and uffi
mauricex at gmx.net
Wed Sep 14 10:57:41 UTC 2005
"Goffioul Michael" <goffioul at imec.be> wrote:
> To be clearer, what you will see in the generated C code (you can see it by
> adding :c-file t as flags to the compile-file function) is something like:
> As this test function is not declared in some header, the compiler will
> automatically guess its signature, and maybe the guess is wrong (at least
> in the return type, the compiler assuming int return by default, I think).
> This might be the problem.
I don't think that's the problem, object_to_float() is declared in
one of ecl's header files.
Now I looked at the c source and there's no object_to_float at all:
Why double? Maybe that explains the data loss.
More information about the ecl-devel