Wayland: Add missing extern "C"

Add extern "C" macro definition for C++.
This commit is contained in:
Yan Wang 2012-05-23 14:14:30 +08:00 committed by Kristian Høgsberg
parent 00de1e6cce
commit d860f0cbec

View file

@ -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