Memory fault error
Elliott Johnson
elliott at elliottjohnson.net
Tue May 1 03:25:28 UTC 2018
On 4/30/18 5:39 AM, Martin Simmons wrote:
> I meant the documentation in
> https://github.com/groeck/lm-sensors/blob/master/lib/libsensors.3 (or man
> libsensors).
>
> C header files often contain internal details that you are not supposed to
> use.
You make a very good point that those structs are not part of the public
API. I've removed the slots from the groveler's struct definitions and
the exported functions accept them and work well. I'm glad I asked,
since I think I'll approach building future ffi projects differently.
Thanks,
Elliott
More information about the cffi-devel
mailing list