Page 1 of 1

Synchronize phidget22.h for Mac, Windows and Linux

Posted: Tue Dec 17, 2024 2:46 am
by MBS
Hello,
could I make the request to Phidgets Inc. to sync the header files?

While macOS, Windows and Linux libraries have about the same APIs, the header files are not in sync.

Maybe use the windows one as standard as it has comments, which e.g. the Mac one is missing.

Re: Synchronize phidget22.h for Mac, Windows and Linux

Posted: Tue Dec 17, 2024 5:31 pm
by Patrick
Hi,

The header is built as part of compiling the library - so it will always be in sync with the installed library. There are some differences in the C preprocessor on Windows vs Linux which cause the differences in comments, but the prototypes are the same. I may look at generating documentation into the C header, but in the meantime I'd recommend the API docs on your product page.

-Patrick