Defining modules

The contents of a C module are defined using a set of macros that are valid within A_MODULE() and A_END_MODULE() declarations. Several different macros are available for defining functions, global variables, constants and classes. All the definitions in a module must be included within a single block delimited with the A_MODULE and A_END_MODULE macros.

Specific issues related to defining modules are described in these subsections: