import core.runtime; // A C library function requiring char** arguments extern(C) void initLibFoo(int argc, char** argv); void main() { auto args = Runtime.cArgs; initLibFoo(args.argc, args.argv); }
char[] name | The name of the dynamic library to load. |
void* p | A reference to the library to unload. |
TraceHandler h | The new trace handler. Set to null to use the default handler. |
CollectHandler h | The new collect handler. Set to null to use the default handler. |
ModuleUnitTester h | The new unit tester. Set to null to use the default unit tester. |