[PD-dev] t_symbol
Thomas Grill
t.grill at gmx.net
Mon May 24 22:55:42 CEST 2004
Hi Tim,
> typedef struct _symbol
> {
> char *s_name;
> struct _class **s_thing;
> struct _symbol *s_next;
> } t_symbol;
>
> what are the entries s_thing and s_next for? s_next implies a list of
> atoms ... how is it to be used?
s_thing points to the pd object that is bound to a symbol (or for multiple
bound objects to an object of the bindlist class)
s_next is used internally... symbols are permanently stored in a hash
table... the hash key is formed of the first few characters of the symbol
string, therefore more symbols need to share the same hash table slot...
these symbols form a linked list by using the s_next pointer
i hope that's corrent....
best greetings,
Thomas
More information about the Pd-dev
mailing list