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

@ -28,7 +28,7 @@
#ifndef __CLUTTER_SHADER_TYPES_H__
#define __CLUTTER_SHADER_TYPES_H__
#include <glib-object.h>
#include <clutter/clutter-types.h>
G_BEGIN_DECLS
@ -70,23 +70,32 @@ typedef struct _ClutterShaderMatrix ClutterShaderMatrix;
*/
#define CLUTTER_VALUE_HOLDS_SHADER_MATRIX(x) (G_VALUE_HOLDS ((x), CLUTTER_TYPE_SHADER_MATRIX))
CLUTTER_AVAILABLE_IN_1_0
GType clutter_shader_float_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0
GType clutter_shader_int_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0
GType clutter_shader_matrix_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0
void clutter_value_set_shader_float (GValue *value,
gint size,
const gfloat *floats);
CLUTTER_AVAILABLE_IN_1_0
void clutter_value_set_shader_int (GValue *value,
gint size,
const gint *ints);
CLUTTER_AVAILABLE_IN_1_0
void clutter_value_set_shader_matrix (GValue *value,
gint size,
const gfloat *matrix);
CLUTTER_AVAILABLE_IN_1_0
const gfloat * clutter_value_get_shader_float (const GValue *value,
gsize *length);
CLUTTER_AVAILABLE_IN_1_0
const gint * clutter_value_get_shader_int (const GValue *value,
gsize *length);
CLUTTER_AVAILABLE_IN_1_0
const gfloat * clutter_value_get_shader_matrix (const GValue *value,
gsize *length);