mirror of
https://github.com/ganelson/inform.git
synced 2024-07-08 01:54:21 +03:00
85 lines
1.9 KiB
OpenEdge ABL
85 lines
1.9 KiB
OpenEdge ABL
[InbuildModule::] Inter Module.
|
|
|
|
Setting up the use of this module.
|
|
|
|
@h Introduction.
|
|
|
|
@d INBUILD_MODULE TRUE
|
|
|
|
@ To begin with, this module needs to allocate memory:
|
|
|
|
@e inform_kit_MT
|
|
@e inform_extension_MT
|
|
@e inform_kit_ittt_MT
|
|
@e element_activation_MT
|
|
@e inbuild_genre_MT
|
|
@e inbuild_work_MT
|
|
@e inbuild_edition_MT
|
|
@e inbuild_requirement_MT
|
|
@e inbuild_copy_MT
|
|
@e build_graph_MT
|
|
@e build_methodology_MT
|
|
@e build_script_MT
|
|
@e build_step_MT
|
|
@e inbuild_nest_MT
|
|
@e inbuild_search_result_MT
|
|
@e inbuild_work_database_entry_array_MT
|
|
|
|
=
|
|
ALLOCATE_INDIVIDUALLY(inform_kit)
|
|
ALLOCATE_INDIVIDUALLY(inform_extension)
|
|
ALLOCATE_INDIVIDUALLY(inform_kit_ittt)
|
|
ALLOCATE_INDIVIDUALLY(element_activation)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_genre)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_work)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_edition)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_requirement)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_copy)
|
|
ALLOCATE_INDIVIDUALLY(build_graph)
|
|
ALLOCATE_INDIVIDUALLY(build_methodology)
|
|
ALLOCATE_INDIVIDUALLY(build_script)
|
|
ALLOCATE_INDIVIDUALLY(build_step)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_nest)
|
|
ALLOCATE_INDIVIDUALLY(inbuild_search_result)
|
|
|
|
ALLOCATE_IN_ARRAYS(inbuild_work_database_entry, 100)
|
|
|
|
@h The beginning.
|
|
|
|
=
|
|
void InbuildModule::start(void) {
|
|
@<Register this module's memory allocation reasons@>;
|
|
@<Register this module's stream writers@>;
|
|
@<Register this module's debugging log aspects@>;
|
|
@<Register this module's debugging log writers@>;
|
|
@<Register this module's command line switches@>;
|
|
Kits::start();
|
|
Extensions::start();
|
|
}
|
|
|
|
@
|
|
|
|
@<Register this module's memory allocation reasons@> =
|
|
;
|
|
|
|
@<Register this module's stream writers@> =
|
|
Writers::register_writer('v', &VersionNumbers::writer);
|
|
Writers::register_writer('X', &Works::writer);
|
|
|
|
@
|
|
|
|
@<Register this module's debugging log aspects@> =
|
|
;
|
|
|
|
@<Register this module's debugging log writers@> =
|
|
;
|
|
|
|
@<Register this module's command line switches@> =
|
|
;
|
|
|
|
@h The end.
|
|
|
|
=
|
|
void InbuildModule::end(void) {
|
|
}
|