On Mon, 24 Jun 2019 at 18:56, makepost <makep...@firemail.cc> wrote:

>
> Regex and MarkupParser from GLib won't work because they don't have
> constructors compatible with GObject introspection, so only their helper
> methods such as escape or match_simple are visible to Gjs.
>

Do you mean because they have non-standard ref and unref funcs? They should
still be usable from gjs. They don't seem to have unref-func and ref-func
annotations, but perhaps bindings can automatically infer that from the
method names being unref and ref? If not, it's a bit shocking that nobody's
added the annotations in all this time, but the worst that could happen is
a memory leak.

-- 
TH
_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to