no definition for struct _CPhidget?

C, C++, and Visual C++
larrykoen

no definition for struct _CPhidget?

Postby larrykoen » Wed Sep 21, 2011 4:39 pm

struct _CPhidget in phidget21.h appears to be the basic structure for the API, however I cannot find a definition for it. Where is it? Thanks for your assistance.

User avatar
Patrick
Lead Developer
Posts: 3165
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: no definition for struct _CPhidget?

Postby Patrick » Thu Sep 22, 2011 12:08 pm

Since the API calls only use pointers to structures, the structure itself does not need to be in the .h file - and is excluded for a reason, because directly accessing the structure members would be bad.

-Patrick


Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 2 guests