Not 100% sure I've thought this all the way through, but it makes sense to me right now anyway
Structure updates
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Structure updates
Now that we have a true unsigned byte type .a, quite a few structures that contain .b members would benefit from being changed to contain .a members instead. RGBQUAD would be one example, but there are surely many. Same would be true of .w -> .u then we don't have to use bitwise AND when reading them.
Not 100% sure I've thought this all the way through, but it makes sense to me right now anyway
Not 100% sure I've thought this all the way through, but it makes sense to me right now anyway
BERESHEIT
Re: Structure updates
Sure, you're right. Who is candidate to review all the WinAPI structures ? 
Re: Structure updates
I nominate Fangbeast!Fred wrote:Sure, you're right. Who is candidate to review all the WinAPI structures ?
I may look like a mule, but I'm not a complete ass.
Re: Structure updates
Ok, one vote for Fang. Anyone else ? 
Re: Structure updates
Whe could post them in a thread specifically created for that, Fred.
Like for the missing structures / constants... or use the same one.
Like for the missing structures / constants... or use the same one.
"Have you tried turning it off and on again ?"
- Fangbeast
- PureBasic Protozoa

- Posts: 4793
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: Structure updates
That's it, you're not invited to the drunken Christmas party with a the shaved sheep and srod doing the dance of the 7 veils and *not* wearing his steaming g-string collection!!!Fred wrote:Ok, one vote for Fang. Anyone else ?
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
