Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 4 - QuickDraw GX Debugging / QuickDraw GX Debugging Reference
Functions / Validating Objects


GXValidateAll

You can use the GXValidateAll function to validate all objects that are allocated.

void GXValidateAll(void);
DESCRIPTION
The GXValidateAll function allows you to validate the parameters of all objects that are allocated in the QuickDraw GX heap. It also checks additional structures in the backing store. In addition, this function checks any internal caches built for the objects. If one or more of the parameters are not valid, QuickDraw GX posts a validation error.

This function is not operational in the non-debugging version of QuickDraw GX.

An alternative method of validating all of the objects in the heap is to use the GXSetValidation function with the gxValidationLevel parameter set to the gxPublicValidation plus gxAllObjectValidation options.

SEE ALSO
QuickDraw GX validation is introduced in the section "Validation Functions" beginning on page 4-6. The use of validation functions is described in the section "Controlling Validation" beginning on page 4-15.

The GXSetValidation function is described on page 4-34.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996