mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 08:49:30 +00:00
interval: Add a pointer variant to compute_value()
ClutterInterval.compute_value() computes the new value given a progress and copies it to a given GValue. Since most of the time we want to pass that very same value to another function that copies it again, we should have a compute_value() variant that stores that computed value inside ClutterInterval and returns a pointer to it. This way we initialize the result GValue just once and we never copy it, as long as the Interval instance is valid.
This commit is contained in:
@ -1590,8 +1590,9 @@ clutter_interval_set_interval
|
||||
clutter_interval_get_interval
|
||||
|
||||
<SUBSECTION>
|
||||
clutter_interval_compute_value
|
||||
clutter_interval_validate
|
||||
clutter_interval_compute_value
|
||||
clutter_interval_compute
|
||||
|
||||
<SUBSECTION>
|
||||
ClutterProgressFunc
|
||||
|
Reference in New Issue
Block a user