mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
Add extern "C" wrappers to public header files
This commit is contained in:
parent
26e6666fab
commit
da6c6b1a38
4 changed files with 33 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
|||
#ifndef WAYLAND_PROTOCOL_H
|
||||
#define WAYLAND_PROTOCOL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define WL_DISPLAY_INVALID_OBJECT 0
|
||||
|
|
@ -68,4 +72,8 @@ extern const struct wl_interface wl_output_interface;
|
|||
|
||||
extern const struct wl_interface wl_visual_interface;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue