ahgilak / deno_gi

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

Handle different array types based on the GIArrayType #24

Open vixalien opened 11 months ago

vixalien commented 11 months ago

As discussed in #21, deno_gi always assume arrays are C arrays, when they can sometimes be GArray, GPtrArray or GByteArray, depending on GIArrayType. We should support boxing and unboxing into all those different array types.