Add extern "C" wrappers to public header files

This commit is contained in:
Kristian Høgsberg 2010-06-10 13:48:44 -04:00
parent 26e6666fab
commit da6c6b1a38
4 changed files with 33 additions and 0 deletions

View file

@ -23,6 +23,10 @@
#ifndef WAYLAND_H
#define WAYLAND_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "wayland-util.h"
@ -151,4 +155,8 @@ wl_display_post_frame(struct wl_display *display,
struct wl_compositor *compositor,
uint32_t frame, uint32_t msecs);
#ifdef __cplusplus
}
#endif
#endif