propagate
Description:
[ CCode ( cname = "g_propagate_error" ) ]
public static void propagate (out Error? dest, owned Error src)
public static void propagate (out Error? dest, owned Error src)
If dest
is null, free src
; otherwise, moves src
into *dest
.
The error variable dest
points to must be null.
src
must be non-null.
Note that src
is no longer valid after this call. If you want to keep using the same GError*, you need to set it to
null after calling this function on it.
Parameters:
dest |
error return location |
src |
error to move into the return location |