mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
introduce new headers wayland-client-core.h and wayland-server-core.h
wayland-client.h and wayland-server.h include the protocol headers generated at build time. This means that a libwayland user cannot generate and use protocol code created from a wayland.xml newer than the installed libwayland, because it is not possible to only include the API header. Another use case is language bindings, which would generate their own protocol code and which only need to use the library ABI, not the generated C code. This commit adds wayland-client-core.h and wayland-server-core.h which do not include the protocol headers or any deprecated code. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
70d3c0fe8a
commit
d74a9c079b
6 changed files with 611 additions and 529 deletions
|
|
@ -11,18 +11,21 @@ scanned_src_files_shared = \
|
|||
scanned_src_files_Client = \
|
||||
$(scanned_src_files_shared) \
|
||||
$(top_srcdir)/src/wayland-client.c \
|
||||
$(top_srcdir)/src/wayland-client.h
|
||||
$(top_srcdir)/src/wayland-client.h \
|
||||
$(top_srcdir)/src/wayland-client-core.h
|
||||
|
||||
scanned_src_files_Server = \
|
||||
$(scanned_src_files_shared) \
|
||||
$(top_srcdir)/src/wayland-server.c \
|
||||
$(top_srcdir)/src/wayland-server.h \
|
||||
$(top_srcdir)/src/wayland-server-core.h \
|
||||
$(top_srcdir)/src/wayland-shm.c
|
||||
|
||||
scanned_src_files_man = \
|
||||
$(scanned_src_files_Server) \
|
||||
$(top_srcdir)/src/wayland-client.c \
|
||||
$(top_srcdir)/src/wayland-client.h
|
||||
$(top_srcdir)/src/wayland-client.h \
|
||||
$(top_srcdir)/src/wayland-client-core.h
|
||||
|
||||
diagramsdir := $(srcdir)/dot
|
||||
diagramssrc := $(wildcard $(diagramsdir)/*.gv)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue