mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 20:01:00 -05:00
e02fef8e2f
Make meson link libmutter using -fvisibility=hidden, and introduce META_EXPORT and META_EXPORT_TEST defines to mark a symbols as visible. The TEST version is meant to be used to flag symbols that are only used internally by mutter tests, but that should not be considered public API. This allows us to be more precise in selecting what is exported and what is not, without the need of a version-script file that would be more complicated to maintain. https://gitlab.gnome.org/GNOME/mutter/merge_requests/395
28 lines
557 B
C
28 lines
557 B
C
/*** BEGIN file-header ***/
|
|
#ifndef __META_ENUM_TYPES_H__
|
|
#define __META_ENUM_TYPES_H__
|
|
|
|
#include <glib-object.h>
|
|
#include <meta/common.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
/* enumerations from "@filename@" */
|
|
/*** END file-production ***/
|
|
|
|
/*** BEGIN file-tail ***/
|
|
G_END_DECLS
|
|
|
|
#endif /* !__MUTTER_ENUM_TYPES_H__ */
|
|
/*** END file-tail ***/
|
|
|
|
/*** BEGIN value-header ***/
|
|
META_EXPORT GType @enum_name@_get_type (void) G_GNUC_CONST;
|
|
#define META_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
|
|
|
|
/*** END value-header ***/
|
|
|