From f8f38aab6323a193fcc0bdb963344b1337ba44b1 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Sat, 25 May 2024 18:44:35 +0200 Subject: [PATCH] gskpathpoint: Document copy and free --- gsk/gskpathpoint.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gsk/gskpathpoint.c b/gsk/gskpathpoint.c index 028ab31f3f..4e2230c05c 100644 --- a/gsk/gskpathpoint.c +++ b/gsk/gskpathpoint.c @@ -51,6 +51,16 @@ G_DEFINE_BOXED_TYPE (GskPathPoint, gsk_path_point, gsk_path_point_copy, gsk_path_point_free) +/** + * gsk_path_point_copy: + * @point: a path point + * + * Copies a path point. + * + * Returns: the copied point + * + * Since: 4.14 + */ GskPathPoint * gsk_path_point_copy (GskPathPoint *point) { @@ -63,6 +73,14 @@ gsk_path_point_copy (GskPathPoint *point) return copy; } +/** + * gsk_path_point_free: + * @point: a path point + * + * Frees a path point copied by [method@Gsk.PathPoint.copy]. + * + * Since: 4.14 + */ void gsk_path_point_free (GskPathPoint *point) {