Here we go. So i passed a struct object into my hashtable with a key. The hashtable when called upon with the key returns a (void *). I want to set my local struct equal to the data at that (void *).
This is what I think it should be but it doesn't seem to work.
struct Foo p1=*(hstuff(table);
Any help will be much appreciated.