- mapArray
auto mapArray(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
- pinPointer
void pinPointer(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
- rt_moduleTlsCtor
void rt_moduleTlsCtor()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- rt_moduleTlsDtor
void rt_moduleTlsDtor()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- wrapCSharp
string wrapCSharp(Modules modules, OutputFileName outputFile, LibraryName libraryName, RootNamespace rootNamespace)
Undocumented in source. Be warned that the author may not have intended to support it.
Necessary boilerplate for C#/.NET.
To wrap all functions/return/parameter types and struct/class definitions from a list of modules, write this in a "main" module and generate mylib.{so,dll}: