mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-05 13:29:50 -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_UTIL_H
|
||||
#define WAYLAND_UTIL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
/* GCC visibility */
|
||||
|
|
@ -104,4 +108,8 @@ void wl_array_init(struct wl_array *array);
|
|||
void wl_array_release(struct wl_array *array);
|
||||
void *wl_array_add(struct wl_array *array, int size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue