--- Chad Simmons <[EMAIL PROTECTED]> wrote:
> Yes, that's it exactly.  Also, not all the events will need their own destroy
> function as many of them won't allocate memory for their arguements. You can
> probably just make one empty function, and assign the event's destroy
> function
> to be that in the creation function.. (Let me know if that was too vague)

LOL, talk about overly complicated.. Sorry, just set the destroy function
pointer to NULL in the event, and put in a check to only run the function if
it's not NULL.

That would be much better,

Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to