In the talk "Shared Libraries in D by Martin Nowak" loadLibrary is presented with the signature:

    void* loadLibrary(string path);

But in the docs we have:

    static void* loadLibrary(in char[] name);

Any particular reason for using "in char[]" instead of string? (I suppose the "in" makes the string head constant, but not the string body.)

Path also seems slightly more explicit than "name", so consider that if someone wants to change it.

Reply via email to