a0UseFormats()

Initialize Formats Extension.


Syntax

a0tError a0UseFormats( void );

Description

This function initializes the Formats extension library. It must be called before any other call of this library.

It defines all basic formats descriptors of Athapascan-0. They can be used to produce new complex formats of type map or function. The basic formats are as follows:

The programmer must pass those formats directly to any function. They are macros that expand to a pointer to a format (a0tFormat *).


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also