mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-07 13:29:55 -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_CLIENT_H
|
||||
#define _WAYLAND_CLIENT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct wl_object;
|
||||
struct wl_display;
|
||||
struct wl_surface;
|
||||
|
|
@ -148,4 +152,9 @@ void wl_display_write(struct wl_display *display,
|
|||
size_t count);
|
||||
void wl_display_advertise_global(struct wl_display *display,
|
||||
struct wl_object *object);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue