From: Dennis S. <sy...@yo...> - 2004-07-14 15:07:57
|
> > Btw, please don't do too much NULL checking within the plugins. If > > someone goes wrong all down at this layer something is majorly borked > > within libvisual itself or the user is creating hacky code. The > > abstraction system, VisInput, VisMorph, VisActor do handle most of the > > situations. Thanks anyway ;) > > That's why I always do NULL checking, to know if there's something wrong. If > everbody code it right we are not humans... so errors may appear and better > catch them as soon as possible. > > Since most of segfaults are caused by null pointers I think worth checking for > them always... Well it's ok with me, but I always used a kinda 'don't do too much check at the low level' because at that layer it should JUST WORK or die hard (and be reported) *hehe*. But then again, it's ok with me! Cheers, Dennis |