Cogl.error_copy
function error_copy(error: GLib.Error): GLib.Error { // Gjs wrapper for cogl_error_copy() }
Makes a copy of error which can later be freed using Cogl.error_free.
- error
A #CoglError thrown by the Cogl api
- Returns
A newly allocated #CoglError initialized to match the contents of error.