Well, you can construct cases... What if the structure contains another
structure, and this structure is changed - maybe you need to consider
arbitrary nesting.
> Note that this is much more picky then C++-style linkage.
Yes, indeed.
> Really, I think this would work, and if I had time I would prove my point.
> (I may yet find the time.)
Don't waste your time: genksyms does exactly that. It detects all
structure definitions and their relationship, and computes a hash
for all structures in the parameter list of an exported function.
Regards,
Martin