dmd.dtoh
This module contains the implementation of the C++ header generation available through the command line switch -Hc.
License
Source: dtoh.d
Documentation: https://dlang.org/phobos/dmd_dtoh.html
-
Declaration
void
genCppHdrFiles
(ref Modulesms
);Generates a C++ header containing bindings for all
extern(C[++])
declarations found in the supplied modules.Parameters
Modules
ms
the modules
Notes:
- the header is written to
<global.params.cxxhdrdir>/<global.params.cxxhdrfile>
orstdout
if no explicit file was specified - bindings conform to the C++ standard defined in
global.params.cplusplus
- ignored declarations are mentioned in a comment if
global.params.doCxxHdrGeneration
is set toCxxHeaderMode.verbose
- the header is written to