Synchronize phidget22.h for Mac, Windows and Linux

C, C++, and Visual C++
Post Reply
MBS
Fresh meat
Posts: 1
Joined: Tue Dec 17, 2024 2:44 am
Contact:

Synchronize phidget22.h for Mac, Windows and Linux

Post 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.
User avatar
Patrick
Lead Developer
Posts: 647
Joined: Mon Jun 20, 2005 8:46 am
Location: Calgary
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest