Home
TidBits
BLong
Source
GBuffy
Mutt
ClearSilver
Python
PyApache
PalmOS Tools
The problem seems indemic to the my generic collections, where I get data out of the collection by passing in a ptr to void *. Apparently, this doesn't work:
struct tm *foo; uListGet(mylist, 1, (void **)&foo);but this does:
struct tm *foo; void *ptr; uListGet(mylist, 1, &ptr); foo = ptr;That's annoying. This also compiles:
struct tm *foo; uListGet(mylist, 1, (void *)&foo);which I'm not sure why. You can't do
&(void *)foo
, so
maybe its just an ordering thing?
Here's off to change all the calls in my code. Ugh.
Personal |
·About Brandon |
·Fediverse |
·Resume |
·Programming |
Friends & Rants |
·Clong Way From Home |
·Wingedpig |
·Unsolicited Dave |
·Jason Lindquist |
·Ben Gross |
·Alan Braverman |
Comics |
·Sluggy Freelance |
·XKCD |
·Questionable Content |
·Least I Could Do |
·Saturday Morning Breakfast Cereal |