gocl-error

gocl-error — API related to error management

Stability Level

Unstable, unless otherwise indicated

Synopsis

#define             GOCL_OPENCL_ERROR_DOMAIN_STR
#define             GOCL_OPENCL_ERROR
GError *            gocl_error_get_last                 (void);

Description

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

Details

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)


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]