mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
94b905b9e1
Clutter has some platform-specific API that is accessible only if the right backend has been compiled in. Third party applications that wish to be portable across backends might want to use defines and other pre-processor tricks to determine header inclusion and API usage. While Clutter has an internal set of symbols it can use, third party applications don't have the luxury of being able to access the config.h generated by Clutter's configure script. For this reason, Clutter should install a configuration header with a series of namespaced defines that can be picked up by applications and other third party code.
17 lines
302 B
C
17 lines
302 B
C
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
|
#error "Only <clutter/clutter.h> can be included directly."
|
|
#endif
|
|
|
|
#ifndef __CLUTTER_CONFIG_H__
|
|
#define __CLUTTER_CONFIG_H__
|
|
|
|
#include <glib.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
@CLUTTER_CONFIG_DEFINES@
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __CLUTTER_CONFIG_H__ */
|