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

@ -86,22 +86,30 @@ struct _ClutterPathClass
GInitiallyUnownedClass parent_class;
};
CLUTTER_AVAILABLE_IN_1_0
GType clutter_path_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0
ClutterPath *clutter_path_new (void);
CLUTTER_AVAILABLE_IN_1_0
ClutterPath *clutter_path_new_with_description (const gchar *desc);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_move_to (ClutterPath *path,
gint x,
gint y);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_rel_move_to (ClutterPath *path,
gint x,
gint y);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_line_to (ClutterPath *path,
gint x,
gint y);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_rel_line_to (ClutterPath *path,
gint x,
gint y);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_curve_to (ClutterPath *path,
gint x_1,
gint y_1,
@ -109,6 +117,7 @@ void clutter_path_add_curve_to (ClutterPath *path,
gint y_2,
gint x_3,
gint y_3);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_rel_curve_to (ClutterPath *path,
gint x_1,
gint y_1,
@ -116,38 +125,55 @@ void clutter_path_add_rel_curve_to (ClutterPath *path,
gint y_2,
gint x_3,
gint y_3);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_close (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0
gboolean clutter_path_add_string (ClutterPath *path,
const gchar *str);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_node (ClutterPath *path,
const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_add_cairo_path (ClutterPath *path,
const cairo_path_t *cpath);
CLUTTER_AVAILABLE_IN_1_0
guint clutter_path_get_n_nodes (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_get_node (ClutterPath *path,
guint index_,
ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0
GSList * clutter_path_get_nodes (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_foreach (ClutterPath *path,
ClutterPathCallback callback,
gpointer user_data);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_insert_node (ClutterPath *path,
gint index_,
const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_remove_node (ClutterPath *path,
guint index_);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_replace_node (ClutterPath *path,
guint index_,
const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0
gchar * clutter_path_get_description (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0
gboolean clutter_path_set_description (ClutterPath *path,
const gchar *str);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_clear (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0
void clutter_path_to_cairo_path (ClutterPath *path,
cairo_t *cr);
CLUTTER_AVAILABLE_IN_1_0
guint clutter_path_get_position (ClutterPath *path,
gdouble progress,
ClutterKnot *position);
CLUTTER_AVAILABLE_IN_1_0
guint clutter_path_get_length (ClutterPath *path);
G_END_DECLS