CSIRO Mathematics, Informatics and Statistics
|
|
|
Next: Compiling Issues Up: No Title Previous: The LIAR ASC interface
LIAR header filesThe LIAR ASC macro definitions should be placed in an appropriate header file for each particular IAS that the LIAR interfaces with. For Z-IMAGE this file is simply called zed.h and for SCIL-Image it is called liar2scil.h. At present all LIAR function prototypes are stored in the header file liar.h, but locally a system of header files more appropriately designated for each logical image analysis area, such as filters.h, morphology.h, geometry.h etc may be in place. It is the resonsibility of the LIAR library manager to place new function prototypes and documentation into the appropriate set of files. LIAR header files are idempotent; the same header can be included more than once. The effect is as if it was included only once. Idempotency is guaranteed by the use of a macro guard. For example the liar.h header file is protected by conditionally including it contents at most once: #ifndef LIARH Ed Breen Tue Sep 3 17:19:31 EST 1996 |