Re: importC - how to use more effectively?

2023-02-22 Thread Andrea Fontana via Digitalmars-d-learn
On Wednesday, 22 February 2023 at 15:00:56 UTC, WebFreak001 wrote: I just first time used importC in a prototype project I just worked on. I used it to just import `libevdev.h` on linux to register a custom input device / make a simple userspace input driver. A suggestion: try tcc as preproce

importC - how to use more effectively?

2023-02-22 Thread WebFreak001 via Digitalmars-d-learn
I just first time used importC in a prototype project I just worked on. I used it to just import `libevdev.h` on linux to register a custom input device / make a simple userspace input driver. Now libevdev comes with two header files: libevdev.h and libevdev-uinput.h Q1) Since libevdev-uinp