Interval.with_values
Description:
[ CCode ( has_construct_function = false ) ]
public Interval.with_values (Type gtype, Value? initial, Value? final)
public Interval.with_values (Type gtype, Value? initial, Value? final)
Creates a new Interval of type gtype
, between initial
and final
.
This function is useful for language bindings.
Parameters:
gtype |
the type of the values in the interval |
initial |
a Value holding the initial value of the interval |
final |
a Value holding the final value of the interval |
Returns:
the newly created Interval |