[PD-dev] string external & usage count

Tim Blechmann TimBlechmann at gmx.net
Wed Oct 13 18:17:27 CEST 2004


> i don't want to use pointers because if i send an invalid pointer to
> one of my string objects it will most likely crash pd.
> therefore i use handles. the worst thing that can happen is that a
> wrong handle refers to the wrong string. i made tests with wrong
> handles and it is quite fail safe.
you could store the pointers in a list and test, if it's valid ... the
problem with ints that are represented by floats ... you will have a
point when (x+1 == x) returns true ... which might be a wonderful source
for errors ...

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list