<div dir="ltr">Can you link to where all the headers are? I found some in <a href="https://gitlab.freedesktop.org/wayland/wayland/-/tree/main/src">https://gitlab.freedesktop.org/wayland/wayland/-/tree/main/src</a>, but I couldn't see where wl_registry is defined. From what I see, wl_XYZ types are structs, which are supported.<div><br></div><div>By the way, there's a new guide for jextract at <a href="https://github.com/openjdk/jextract/blob/master/doc/GUIDE.md">https://github.com/openjdk/jextract/blob/master/doc/GUIDE.md</a>. When working with complex headers (includes upon includes), it's important to specify the correct target header.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 21, 2024 at 11:35 PM Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com">thiago.sayao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>jextract --output src -t org.freedesktop.wayland.client --header-class-name WlClient `pkg-config --cflags-only-I wayland-client` `pkg-config --libs wayland-client`  /usr/include/wayland-client.h<br></div><div><div><br></div><div>WARNING: Skipping wl_registry (type Declared(wl_registry) is not supported)<br></div><div><br></div><div>I would need this to hook the events with wl_registry_add_listener, but currently the code generation for this is not working.</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em dom., 21 de abr. de 2024 às 16:39, Nir Lisker <<a href="mailto:nlisker@gmail.com" target="_blank">nlisker@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">What are wl_ types? jextract only supports c headers.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 21, 2024 at 10:31 PM Thiago Milczarek Sayão <<a href="mailto:thiago.sayao@gmail.com" target="_blank">thiago.sayao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br><div><br></div><div>I did a small test app to explore Wayland client and portals (for Robot and dialogs such as file open/save).</div><div><br></div><div><a href="https://github.com/tsayao/wayland-test/blob/main/wayland-test.c" target="_blank">https://github.com/tsayao/wayland-test/blob/main/wayland-test.c</a><br></div><div><br></div><div>It seems it will work as a glass backend, but some walls will be hit on the way :)</div><div><br></div><div>I have tried to use jextract (from project Panama) to work directly with java, but it seems it does not support wl_ types.<br></div><div><br></div><div>-- Thiago.</div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>