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

Daniel Stone daniel at fooishbar.org
Mon Dec 4 14:08:40 UTC 2017


Hi Felipe,

On 2 December 2017 at 20:17, ferreiradaselva
<ferreiradaselva at protonmail.com> wrote:
> 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.github.com/ferreiradaselva/ad04b8c6302a376f4bff0477ea01d129

Thanks very much for preparing this. It's hard to comment on the code
though, without being able to see the differences.

The usual manner patches are prepared is:
  * create a new branch in your Git worktree (say, scanner-no-doc)
  * make the changes you want to your source code
  * commit those changes
  * use git send-email to post the changes to the list

That way we can see just the differences between your code and
mainline, rather than having to read the whole file and try not to
miss anything.

Cheers,
Daniel


More information about the wayland-devel mailing list