Oct 25, 2009 at 1:16pm
I have this code in one object -
Am I storing correctly the object pointer here?….
In my second object i have –
I receive no error message, nor the long value I am trying to retrieve unfortunately. I have simply replaced a symbol->s-thing object pointer system with these hashtable parts, so I discount any other possible sources of the problem, eg incorrectly formatted char arrays/symbols.
When I print out a list of keys from my hashtable object it shows them all as being there, so I’m sure I’m missing something again, either in the storage or the lookup of the object pointer.
Oct 26, 2009 at 9:52pm
hashtab_store(tab, gensym(tempbuf), b);
and when looking up I exchanged -
hashtab_lookup(tab, test, &t);
Everything seems to work well now. I thought to leave a message should others come across the same brainteaser…
You must be logged in to reply to this topic.