mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
gskpathpoint: Document copy and free
This commit is contained in:
parent
75c2bd53aa
commit
f8f38aab63
@ -51,6 +51,16 @@ G_DEFINE_BOXED_TYPE (GskPathPoint, gsk_path_point,
|
|||||||
gsk_path_point_copy,
|
gsk_path_point_copy,
|
||||||
gsk_path_point_free)
|
gsk_path_point_free)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gsk_path_point_copy:
|
||||||
|
* @point: a path point
|
||||||
|
*
|
||||||
|
* Copies a path point.
|
||||||
|
*
|
||||||
|
* Returns: the copied point
|
||||||
|
*
|
||||||
|
* Since: 4.14
|
||||||
|
*/
|
||||||
GskPathPoint *
|
GskPathPoint *
|
||||||
gsk_path_point_copy (GskPathPoint *point)
|
gsk_path_point_copy (GskPathPoint *point)
|
||||||
{
|
{
|
||||||
@ -63,6 +73,14 @@ gsk_path_point_copy (GskPathPoint *point)
|
|||||||
return copy;
|
return copy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gsk_path_point_free:
|
||||||
|
* @point: a path point
|
||||||
|
*
|
||||||
|
* Frees a path point copied by [method@Gsk.PathPoint.copy].
|
||||||
|
*
|
||||||
|
* Since: 4.14
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
gsk_path_point_free (GskPathPoint *point)
|
gsk_path_point_free (GskPathPoint *point)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user