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
voidgenCppHdrFiles(ref Modulesms);Generates a C++ header containing bindings for all
extern(C[++])declarations found in the supplied modules.Parameters
Modulesmsthe modules
Notes:
- the header is written to
<global.params.cxxhdrdir>/<global.params.cxxhdrfile>orstdoutif 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.doCxxHdrGenerationis set toCxxHeaderMode.verbose
- the header is written to