Work

Generic packages in C

Year: 1986
Type: article
Abstract: The structuring achieved by generic packages in Ada can be cheaply emulated in C by judicious use of the preprocessor. Two files are required for the generic package: the specification and the body. Two more files are used in the instantiation: one holding the instantiation parameters and one with auxiliary code. Instantiation results in normal C header and object files (*.h and *.o). Dependency control can be delegated to the make progam.
Author: Dick Grune
Language: English
Subfield: Software
Open Access status: bronze
OpenAlex ID: W2052367769
FWCI:
Cites: 5
Cited by: 2
Related to: 10