WebAssembly + Custom Runtime + Associative Arrays

Remi remigillig at gmail.com
Tue Nov 10 22:36:40 UTC 2020


On Tuesday, 10 November 2020 at 21:23:07 UTC, Ferhat Kurtulmuş 
wrote:
> On Tuesday, 10 November 2020 at 18:24:03 UTC, Remi wrote:
>> [...]
>
> It is weird, but if you pass pointer aa as ref it works.
>
> extern (C) void* _aaGetY(ref AA* aa, const 
> TypeInfo_AssociativeArray aati, in size_t valuesize, in void* 
> pkey)

Wow thanks! Can't believe I didn't think of that. Seems to work 
indeed.


More information about the digitalmars-d-ldc mailing list