From: Daryll S. <da...@va...> - 2000-11-06 03:04:38
|
On Sun, Nov 05, 2000 at 02:46:29PM -0700, Keith Whitwell wrote: > Brian Paul wrote: > > 1. _swsetup_RegisterVB() returns a boolean, but in dd.h, the RegisterVB > > function pointer returns void. Which should it be? > > Hmm. If it does fail (it alloc's memory, typically), I'm not sure we can go > on. It might as well exit on failure and return void. Gack no. Libraries should never exit the application. You have to propigate the failure back to the client application so it has an opportunity to influence the behavior. - |Daryll |