value_set_from_value


Description:


public bool value_set_from_value (Value value, Value from)

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.

Parameters:

value

a Value.

from

the value to copy from.

Returns:

true if successful, false otherwise.


Namespace: Gda
Package: libgda-6.0