Configuration

Aggregation of global configuration options affecting the program

struct Configuration {}

Members

Functions

toOptions
Options toOptions()
Undocumented in source. Be warned that the author may not have intended to support it.
toOptions
Options toOptions(string inputFile, string outputFile)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

Version
enum Version;

app version string, generated by the build system

Variables

aliasEnumMembers
bool aliasEnumMembers;

generate aliases for enum members in global scope

clangParams
string[] clangParams;

array of parameters needed to be forwarded to clang driver

clangVersion
bool clangVersion;

show libclang version

collisionAction
CollisionAction collisionAction;

action to take on symbol collision

dstepVersion
bool dstepVersion;

show dstep version

enableComments
bool enableComments;

enable translation of comments

globalAttributes
string[] globalAttributes;

add global attributes

globalImports
string[] globalImports;

add global imports

inputFiles
string[] inputFiles;

array of file names to translate to D

language
Language language;

expected programming language of input files

normalizeModules
bool normalizeModules;
Undocumented in source.
output
string output;

output file name or folder (in case there are many input files)

packageName
string packageName;

package name

portableWCharT
bool portableWCharT;

translate to wchar_t to core.stdc.stddef.wchar_t

printDiagnostics
bool printDiagnostics;

print diagnostic informations

publicSubmodules
bool publicSubmodules;

use public imports for submodules

reduceAliases
bool reduceAliases;

enable reduction of primitive type aliases

renameEnumMembers
bool renameEnumMembers;

attempt to rename the enumeration members to D conforming form

singleLineFunctionSignatures
bool singleLineFunctionSignatures;

single line function headers

skipDefinitions
string[] skipDefinitions;

do not translate bodies of following structs and unions

skipSymbols
string[] skipSymbols;

do not translate following symbols

spaceAfterFunctionName
bool spaceAfterFunctionName;

space after function name

translateMacros
bool translateMacros;

translate C preprocessor macros if possible

zeroParamIsVararg
bool zeroParamIsVararg;

translate functions with empty argument list as vararg

Meta