README: Change the examples from wl_ to wp_

It was decided that the wl_ prefixed used by protocols and the
wayland-client and wayland-server API should only be used by those two
libraries.

Instead, invent a new prefix for protocols in wayland-protocols: wp_,
which stands for Wayland Protocol.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2015-11-06 12:31:32 +08:00
parent 53fcfe3eba
commit 0c7973d72b

4
README
View file

@ -69,10 +69,10 @@ all of the interfaces in the protocol are prefixed with +z+ and
postfixed with the major version number.
For example, an unstable protocol called foo-bar with major version 2
containing the two interfaces wl_foo and wl_bar both minor version 1 will
containing the two interfaces wp_foo and wp_bar both minor version 1 will
be placed in the directory +unstable/foo-bar/+ consisting of one file
called +README+ and one called +foo-bar-unstable-v2.xml+. The XML file
will consist of two interfaces called +zwl_foo2+ and +zwl_bar2+ with the
will consist of two interfaces called +zwp_foo2+ and +zwp_bar2+ with the
+version+ attribute set to +1+.
Unstable protocol changes