Bindgen with more file.h

Hi everybody,
I'm developing a kernel module in rust and i need to use bindgen. I saw that Bindgen translate the file.h directly in rust.
My question is the following:
If I have an file.h that contains file1.h, file2.h,...filen.h (other header files), how does Bindgen work?

You create your own wrapper.h that contains:

#include "file1.h"
#include "file2.h"
#include "file3.h"
1 Like

Thank you

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.