Hi,

Many routines that use callback functions (ex. SndStreamCreate) allow the developer to have access to global data by passing a pointer to that data.
If I pass a pointer to a struct, can that struct in turn have pointers elsewhere, or does the struct always have to be self-contained?



Also, can globals be used safely in gadget callback functions?


/ Ingemar Bergmark

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to