Setting up the use of this module.

§1. This section simoly sets up the module in ways expected by foundation, and contains no code of interest. The following constant exists only in tools which use this module:

define INDEX_MODULE TRUE

§2. Like all modules, this one must define a start and end function:

enum PHRASE_USAGE_DA
enum INDEX_SORTING_MREASON
enum MAP_INDEX_MREASON
enum TYPE_TABLES_MREASON
enum DOC_FRAGMENT_MREASON
COMPILE_WRITER(heading *, IndexHeadings::log)

void IndexModule::start(void) {
    REGISTER_WRITER('H', IndexHeadings::log);
    Log::declare_aspect(PHRASE_USAGE_DA, L"phrase usage", FALSE, FALSE);
    Memory::reason_name(INDEX_SORTING_MREASON, "index sorting");
    Memory::reason_name(MAP_INDEX_MREASON, "map in the World index");
    Memory::reason_name(TYPE_TABLES_MREASON, "tables of details of the kinds of values");
    Memory::reason_name(DOC_FRAGMENT_MREASON, "documentation fragments");

    InternalTests::make_test_available(I"map", &PL::SpatialMap::perform_map_internal_test, TRUE);
}
void IndexModule::end(void) {
}