[Gambas-user] Gambas Header Files
Cedron Dawg
cedron at exede.net
Tue Feb 26 23:05:36 CET 2019
No, I was not aware of that, thanks.
Even if it could produce this, I doubt I could turn around and use it as a code generator/fixer.
Hey Benoit, wanna talk about "__attribute__ ((packed))" and using <stdint.h> data types?
>From usb.hP:
struct usb_hid_descriptor {
uint8_t bLength;
uint8_t bDescriptorType;
uint16_t bcdHID;
uint8_t bCountryCode;
uint8_t bNumDescriptors;
/* uint8_t bReportDescriptorType; */
/* uint16_t wDescriptorLength; */
/* ... */
} __attribute__ ((packed));
==================================================
[...snip...]
Do you know ctags [1]? It does all of that and more. I highly recommend it
when working with Gambas' core.
Regards,
Tobi
[1] https://en.wikipedia.org/wiki/Ctags
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
More information about the User
mailing list