You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect that these sorts of array declarations should be no problem for ffigen. It's just running clang on the header, so anything that clang can understand, ffigen should be able to understand. I tried this declaration and it seems to work:
@brianquinlan What version of clang are you using? Maybe it's an older version that doesn't like these sorts of declarations? Otherwise, can you share your ffigen config, and I'll try to repro on the actual header?
The following struct, from
/usr/include/linux/sysinfo.h
:is elided from code generation with:
But the array is not flexible, it is calculated.
The text was updated successfully, but these errors were encountered: