static init c struct with array filed
user1234
user1234 at 12.de
Wed Mar 16 17:03:33 UTC 2022
On Wednesday, 16 March 2022 at 14:42:02 UTC, Era Scarecrow wrote:
> On Wednesday, 16 March 2022 at 11:27:20 UTC, user1234 wrote:
>> assuming the c library takes by reference
>
> My experience all arrays are effectively just pointers
I meant the function that takes the Test2 as parameter, but to be
honest I dont get exactly what does OP want actually... that's
true that passing a Test2 is somewhat strange as there's no info
for the array length.
More information about the Digitalmars-d-learn
mailing list