efihdrtool

A program to simplify the process of translating UEFI headers from C -> D Usage: dub run --single efihdrtool.d -- options specfile.map Where specfile.map contains pairs a/b/header.h = uefi.dmodulename It outputs files to source/pack/age/module.d unless otherwise specified

Members

Functions

dropToChild
ParseTree dropToChild(ParseTree pt)
Undocumented in source. Be warned that the author may not have intended to support it.
getChild
ParseTree* getChild(ParseTree* pt, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
loadMapping
void loadMapping(File mapFile)
Undocumented in source. Be warned that the author may not have intended to support it.
main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
processCode
void processCode(GeneratedModule* dmod, string htext, string hpath)
Undocumented in source. Be warned that the author may not have intended to support it.
warnUnrecognisedDecl
ParseTree warnUnrecognisedDecl(ParseTree pt)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

GeneratedModule
struct GeneratedModule
Undocumented in source.

Variables

PEG_C_GRAMMAR
enum string PEG_C_GRAMMAR;
Undocumented in source.
headerToModuleMappings
GeneratedModule*[string] headerToModuleMappings;

Header paths mapped to modules

inPathRoot
string inPathRoot;
Undocumented in source.
modules
GeneratedModule*[string] modules;

Modules indexed by their names

outPathRoot
string outPathRoot;
Undocumented in source.
runDfmt
bool runDfmt;
Undocumented in source.

Meta