ahgilak / deno_gi

Deno port of Gnome libraries (such as Gtk).
https://deno.land/x/deno_gi
33 stars 2 forks source link

Use ArrayBuffers for passing values #30

Closed vixalien closed 5 months ago

vixalien commented 6 months ago

Hello. This PR yet again reverts to using ArrayBuffers for passing values. This is in contrast to using BigUint64Arrays as it's quite hard to use signed numbers with them.

I aim to further use ArrayBuffers everywhere, like in initArgument, inArgs, etc...

These issues were surfaced by work I'm doing in regards to #14. When this PR is merged, I'll be able to update the tests PR to finally add tests from libeverything, then we will add marshalling tests.

vixalien commented 5 months ago

@ahgilak I believe this is next.

vixalien commented 5 months ago

nice! i'll continue with the tests