On Monday, 16 November 2020 at 21:58:44 UTC, Jack wrote:

What is the function prototype like and how are you declaring that struct?

The struct is very simple, it contains:

struct S {
    SysTime a;
    ulong b;
    double c;
    ubyte[] d;
    string e;
}

And I tried:

bool foo(S[] params);     // passing a S[]
bool foo(S[]* params);    // passing a &S[]
bool foo(S* params);      // passing a S.ptr

Reply via email to