mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
Wayland: Add missing extern "C"
Add extern "C" macro definition for C++.
This commit is contained in:
parent
00de1e6cce
commit
d860f0cbec
1 changed files with 8 additions and 0 deletions
|
|
@ -25,6 +25,10 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum wl_cursor_type {
|
||||
WL_CURSOR_BOTTOM_LEFT,
|
||||
WL_CURSOR_BOTTOM_RIGHT,
|
||||
|
|
@ -75,4 +79,8 @@ wl_cursor_theme_get_cursor_by_name(struct wl_cursor_theme *theme,
|
|||
struct wl_buffer *
|
||||
wl_cursor_image_get_buffer(struct wl_cursor_image *image);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue