|
|
Something that the Be Book doesn't mention is that most hook-functions in the media kit are called with pointers that are guaranteed to be non-NULL. This is because the pointers that are passed to the functions, usually point into fixed-length structs that are used internally to pass data between nodes. In many code-examples on the Be website, almost no checks for NULL-pointers appear, and this is not just to simplify the example but also because it's not really necessary.
--Jac Goudsmit on May 16, 2001