Sets the value of a Value from another Value.
This is different from value_copy, which creates a new Value
. value_set_from_value, on the other hand, copies the contents of copy
into value
, which must already be allocated.
If values are incompatible (see g_value_type_compatible
) then value
is set to a GDA_TYPE_NULL
, and
false is returned.
value |
a Value. |
from |
the value to copy from. |
true if successful, false otherwise. |