What exactly gets returned with extern(C) export string func() ?

frame frame86 at live.com
Sun Jun 13 21:13:33 UTC 2021


On Sunday, 13 June 2021 at 10:02:45 UTC, cc wrote:

> it seems to work as expected with the same C# code.  Does D 
> explicitly disallow slices as an extern(C) export parameter 
> type?

The spec says that there is no equivalent to type[]. You get a 
type* instead.



More information about the Digitalmars-d-learn mailing list