extern(C) and slices

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 11 16:03:21 PDT 2017


If I have a function like

`extern(C) void f(void *x, size_t x_sz)`

can I instead declare it as

`extern(C) void f(void[] x)`

?


More information about the Digitalmars-d-learn mailing list