generate

Undocumented in source.

Members

Enums

D_TO_REPLACE
enum D_TO_REPLACE
Undocumented in source.
ReservedArgs
enum ReservedArgs
Undocumented in source.

Functions

capturesToArray
string[] capturesToArray(RegexMatch!string matches)
Undocumented in source. Be warned that the author may not have intended to support it.
checkCustomRegex
void checkCustomRegex(Regex!char targetReg)
Undocumented in source. Be warned that the author may not have intended to support it.
checkDppExecution
bool checkDppExecution()
Undocumented in source. Be warned that the author may not have intended to support it.
checkHelpNeeded
bool checkHelpNeeded(GetoptResult helpInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
checkPluginLoad
bool checkPluginLoad()
Undocumented in source. Be warned that the author may not have intended to support it.
checkPluginOnly
bool checkPluginOnly()
Undocumented in source. Be warned that the author may not have intended to support it.
checkPresets
void checkPresets(Regex!char targetReg)
Undocumented in source. Be warned that the author may not have intended to support it.
cleanPreFuncsDeclaration
auto cleanPreFuncsDeclaration(Strs funcs, Reg reg)
Undocumented in source. Be warned that the author may not have intended to support it.
cppFuncsToD
string cppFuncsToD(string funcs, bool replaceAditional)

Uses a bunch of presets written in the file head, it will convert every C func declaration to D, arrays are transformed to pointers, as if it becomes ref, the function won't be able to accept casts

createDppFile
File createDppFile(string headerFile)
Undocumented in source. Be warned that the author may not have intended to support it.
createFuncsFile
void createFuncsFile(string libName, string[] funcNames)
Undocumented in source. Be warned that the author may not have intended to support it.
createLibLoad
void createLibLoad(string libName, string[] funcNames)

Create library loading file named libNameload.d

createPackage
void createPackage(string libName)
Undocumented in source. Be warned that the author may not have intended to support it.
executeDpp
bool executeDpp(File file, string _dppArgs)
Undocumented in source. Be warned that the author may not have intended to support it.
generateAliases
string generateAliases(string[] funcs)
Undocumented in source. Be warned that the author may not have intended to support it.
generateBindSymbols
string generateBindSymbols(string[] funcs)
generateGSharedFuncs
string generateGSharedFuncs(string[] funcs)
Undocumented in source. Be warned that the author may not have intended to support it.
getDConvPlugins
void getDConvPlugins()

Remove d-conv from the args and sets willConvertToD to true

getFuncNames
string[] getFuncNames(string[] funcs)
Undocumented in source. Be warned that the author may not have intended to support it.
getFuncs
auto getFuncs(Input file, Reg reg)

Get every function from file following the regex, the regex should only match

helpInfoSetup
void helpInfoSetup(GetoptResult helpInfo)
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.
playPlugins
void playPlugins(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
pluginArgsHandler
void pluginArgsHandler(string opt, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
replaceRefWithDefault
void replaceRefWithDefault(string funcs)

Creates overload for ref functions with defaults

Manifest constants

AliasCreation
enum AliasCreation;
Undocumented in source.
BindSymbolCreation
enum BindSymbolCreation;
Undocumented in source.
ERROR
enum ERROR;
Undocumented in source.
GSharedCreation
enum GSharedCreation;
Undocumented in source.

Variables

dppPath
string dppPath;
Undocumented in source.
optCustom
string optCustom;
Undocumented in source.
optDebug
bool optDebug;
Undocumented in source.
optDppArgs
string optDppArgs;
Undocumented in source.
optFile
string optFile;
Undocumented in source.
optFuncPrefix
bool optFuncPrefix;
Undocumented in source.
optLoad
bool optLoad;
Undocumented in source.
optLoadAll
bool optLoadAll;
Undocumented in source.
optNoTypes
bool optNoTypes;
Undocumented in source.
optPluginArgs
string[][string] optPluginArgs;
Undocumented in source.
optPresets
string optPresets;
Undocumented in source.
optRecompile
bool optRecompile;
Undocumented in source.
optUsingPlugins
string[] optUsingPlugins;
Undocumented in source.
pluginsPath
string pluginsPath;
Undocumented in source.
tempPath
string tempPath;
Undocumented in source.

Meta