Annotate all public symbols

We are going to switch to compiler annotations to determine the
visibility of the symbols.
This commit is contained in:
Emmanuele Bassi
2014-03-17 18:19:52 +00:00
parent 2102573700
commit c69bb976b3
65 changed files with 902 additions and 136 deletions

View File

@ -46,9 +46,7 @@
* #ClutterInterval is available since Clutter 1.0
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
@ -64,6 +62,7 @@
#include "clutter-scriptable.h"
#include "clutter-script-private.h"
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
#include "deprecated/clutter-fixed.h"
enum
@ -104,12 +103,15 @@ G_DEFINE_TYPE_WITH_CODE (ClutterInterval,
G_IMPLEMENT_INTERFACE (CLUTTER_TYPE_SCRIPTABLE,
clutter_scriptable_iface_init));
static gboolean
clutter_interval_real_validate (ClutterInterval *interval,
GParamSpec *pspec)
{
GType pspec_gtype = G_PARAM_SPEC_VALUE_TYPE (pspec);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
/* check the GTypes we provide first */
if (pspec_gtype == COGL_TYPE_FIXED)
{
@ -125,6 +127,8 @@ clutter_interval_real_validate (ClutterInterval *interval,
return FALSE;
}
G_GNUC_END_IGNORE_DEPRECATIONS;
/* then check the fundamental types */
switch (G_TYPE_FUNDAMENTAL (pspec_gtype))
{