gocl-error

gocl-error — API related to error management

Stability Level

Unstable, unless otherwise indicated

Functions

GError * gocl_error_get_last ()

Types and Values

Description

Internal functions related to error management. This API is private, not supposed to be used in applications.

Functions

gocl_error_get_last ()

GError *
gocl_error_get_last (void);

Retrieves the error that ocurred in the last Gocl operation, if any, or NULL if the last operation was successful.

Returns

A pointer to a newly created error, or NULL.

[transfer full]

Types and Values

GOCL_OPENCL_ERROR_DOMAIN_STR

#define GOCL_OPENCL_ERROR_DOMAIN_STR "org.gnome.lib.gocl.OpenCL.ErrorDomain"

GOCL_OPENCL_ERROR

#define GOCL_OPENCL_ERROR            g_quark_from_string (GOCL_OPENCL_ERROR_DOMAIN_STR)