Skip to content

Commit

Permalink
Add slim markers to make check-plt.sh happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Behdad Esfahbod committed Sep 26, 2008
1 parent 1de059b commit 096f9de
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cairo-font-face.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ cairo_font_face_get_user_data (cairo_font_face_t *font_face,
return _cairo_user_data_array_get_data (&font_face->user_data,
key);
}
slim_hidden_def (cairo_font_face_get_user_data);

/**
* cairo_font_face_set_user_data:
Expand Down Expand Up @@ -311,6 +312,7 @@ cairo_font_face_set_user_data (cairo_font_face_t *font_face,
return _cairo_user_data_array_set_data (&font_face->user_data,
key, user_data, destroy);
}
slim_hidden_def (cairo_font_face_set_user_data);

static const cairo_font_face_backend_t _cairo_toy_font_face_backend;

Expand Down Expand Up @@ -660,6 +662,7 @@ cairo_toy_font_face_get_slant (cairo_font_face_t *font_face)
}
return toy_font_face->slant;
}
slim_hidden_def (cairo_toy_font_face_get_slant);

/**
* cairo_toy_font_face_get_weight:
Expand All @@ -681,6 +684,7 @@ cairo_toy_font_face_get_weight (cairo_font_face_t *font_face)
}
return toy_font_face->weight;
}
slim_hidden_def (cairo_toy_font_face_get_weight);

static const cairo_font_face_backend_t _cairo_toy_font_face_backend = {
CAIRO_FONT_TYPE_TOY,
Expand Down
4 changes: 4 additions & 0 deletions src/cairo-user-font.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ cairo_user_font_face_create (void)

return &font_face->base;
}
slim_hidden_def(cairo_user_font_face_create);

/* User-font method setters */

Expand Down Expand Up @@ -573,6 +574,7 @@ cairo_user_font_face_set_init_func (cairo_font_face_t *font_fac
}
user_font_face->scaled_font_methods.init = init_func;
}
slim_hidden_def(cairo_user_font_face_set_init_func);

/**
* cairo_user_font_face_set_render_glyph_func:
Expand Down Expand Up @@ -608,6 +610,7 @@ cairo_user_font_face_set_render_glyph_func (cairo_font_face_t
}
user_font_face->scaled_font_methods.render_glyph = render_glyph_func;
}
slim_hidden_def(cairo_user_font_face_set_render_glyph_func);

/**
* cairo_user_font_face_set_text_to_glyphs_func:
Expand Down Expand Up @@ -670,6 +673,7 @@ cairo_user_font_face_set_unicode_to_glyph_func (cairo_font_face_t
}
user_font_face->scaled_font_methods.unicode_to_glyph = unicode_to_glyph_func;
}
slim_hidden_def(cairo_user_font_face_set_unicode_to_glyph_func);

/* User-font method getters */

Expand Down
5 changes: 5 additions & 0 deletions src/cairo.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ cairo_set_line_width (cairo_t *cr, double width)
if (status)
_cairo_set_error (cr, status);
}
slim_hidden_def (cairo_set_line_width);

/**
* cairo_set_line_cap:
Expand Down Expand Up @@ -954,6 +955,7 @@ cairo_set_line_cap (cairo_t *cr, cairo_line_cap_t line_cap)
if (status)
_cairo_set_error (cr, status);
}
slim_hidden_def (cairo_set_line_cap);

/**
* cairo_set_line_join:
Expand Down Expand Up @@ -983,6 +985,7 @@ cairo_set_line_join (cairo_t *cr, cairo_line_join_t line_join)
if (status)
_cairo_set_error (cr, status);
}
slim_hidden_def (cairo_set_line_join);

/**
* cairo_set_dash:
Expand Down Expand Up @@ -2086,6 +2089,7 @@ cairo_stroke (cairo_t *cr)

cairo_new_path (cr);
}
slim_hidden_def(cairo_stroke);

/**
* cairo_stroke_preserve:
Expand Down Expand Up @@ -3557,6 +3561,7 @@ cairo_get_line_width (cairo_t *cr)

return _cairo_gstate_get_line_width (cr->gstate);
}
slim_hidden_def (cairo_get_line_width);

/**
* cairo_get_line_cap:
Expand Down
13 changes: 13 additions & 0 deletions src/cairoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -2390,7 +2390,9 @@ slim_hidden_proto (cairo_curve_to);
slim_hidden_proto (cairo_destroy);
slim_hidden_proto (cairo_fill_preserve);
slim_hidden_proto (cairo_font_face_destroy);
slim_hidden_proto (cairo_font_face_get_user_data);
slim_hidden_proto_no_warn (cairo_font_face_reference);
slim_hidden_proto (cairo_font_face_set_user_data);
slim_hidden_proto (cairo_font_options_equal);
slim_hidden_proto (cairo_font_options_hash);
slim_hidden_proto (cairo_font_options_merge);
Expand All @@ -2400,6 +2402,7 @@ slim_hidden_proto (cairo_font_options_set_hint_style);
slim_hidden_proto (cairo_font_options_set_subpixel_order);
slim_hidden_proto (cairo_font_options_status);
slim_hidden_proto (cairo_get_current_point);
slim_hidden_proto (cairo_get_line_width);
slim_hidden_proto (cairo_get_matrix);
slim_hidden_proto (cairo_get_target);
slim_hidden_proto (cairo_get_tolerance);
Expand Down Expand Up @@ -2459,12 +2462,16 @@ slim_hidden_proto_no_warn (cairo_scaled_font_reference);
slim_hidden_proto (cairo_scaled_font_status);
slim_hidden_proto (cairo_set_font_size);
slim_hidden_proto (cairo_set_font_options);
slim_hidden_proto (cairo_set_line_cap);
slim_hidden_proto (cairo_set_line_join);
slim_hidden_proto (cairo_set_line_width);
slim_hidden_proto (cairo_set_matrix);
slim_hidden_proto (cairo_set_operator);
slim_hidden_proto (cairo_set_source);
slim_hidden_proto (cairo_set_source);
slim_hidden_proto (cairo_set_source_surface);
slim_hidden_proto (cairo_status);
slim_hidden_proto (cairo_stroke);
slim_hidden_proto (cairo_stroke_preserve);
slim_hidden_proto (cairo_surface_create_similar);
slim_hidden_proto (cairo_surface_destroy);
Expand All @@ -2485,6 +2492,12 @@ slim_hidden_proto (cairo_surface_status);
slim_hidden_proto (cairo_text_cluster_allocate);
slim_hidden_proto (cairo_text_cluster_free);
slim_hidden_proto (cairo_toy_font_face_create);
slim_hidden_proto (cairo_toy_font_face_get_slant);
slim_hidden_proto (cairo_toy_font_face_get_weight);
slim_hidden_proto (cairo_user_font_face_create);
slim_hidden_proto (cairo_user_font_face_set_init_func);
slim_hidden_proto (cairo_user_font_face_set_render_glyph_func);
slim_hidden_proto (cairo_user_font_face_set_unicode_to_glyph_func);
slim_hidden_proto (cairo_version_string);

#if CAIRO_HAS_PNG_FUNCTIONS
Expand Down

0 comments on commit 096f9de

Please sign in to comment.