Scanner with --no-documentation option (source-code included)

2017-12-02 Thread ferreiradaselva
Hi, I don't know how useful this feature would be for others (it would be for me), but I made the wayland-scanner to take a no-documentation option. It omits the documentation comments (but still keep the copyright notice). Is this something of interest? I added the source on https://gist.git

Can I copy-paste Wayland generated header in my own library header?

2017-12-02 Thread ferreiradaselva
Good morning. I'm writing a cross-platform window framework, like GLFW, but containing only two files (a source and a header). I would like to copy and paste the content of the xdg-shell.h generated with wayland-scanner into my header (swfw.h), between #ifdef/#endif, so if the user compiles fo

Re: Who generate the headers?

2017-12-02 Thread ferreiradaselva
Hi, Phillip I was able to easily generate the xdg-shell header with wayland-scanner :) I will make some tests. If I have some other question I will come back Thanks for the help! -- Felipe Ferreira da Silva > Original Message > Subject: Re: Who generate the headers? > Local Tim

Re: Who generate the headers?

2017-12-02 Thread Philipp Kerling
Hi, 2017-12-02 (土) の 06:05 -0500 に ferreiradaselva さんは書きました: > Hello, everyone > > I'm still learning how the distribution to the access of the API > works. I'm making a library like GLFW/SDL2 with Wayland as one of the > backends. > > I have in my system `/usr/include` the headers of my interes

Who generate the headers?

2017-12-02 Thread ferreiradaselva
Hello, everyone I'm still learning how the distribution to the access of the API works. I'm making a library like GLFW/SDL2 with Wayland as one of the backends. I have in my system `/usr/include` the headers of my interest `wayland-client-protocol.h` and `wayland-client.h`. However, the protoco