gxerror.h File Reference

Go to the source code of this file.

Defines

#define gx_error_no_memory   NULL
#define gx_error_is(_errorptr, d, c)   ((_errorptr) && ((_errorptr)->domain == (d)) && ((_errorptr)->code == (c)))

Functions

GError * gx_error_new (GQuark domain, gint code, const gchar *format,...) G_GNUC_PRINTF(3
GError *GError * gx_error_new_literal (GQuark domain, gint code, const gchar *message)
GError * gx_error_new_valist (GQuark domain, gint code, const gchar *format, va_list args)

Define Documentation

#define gx_error_is ( _errorptr,
d,
 )     ((_errorptr) && ((_errorptr)->domain == (d)) && ((_errorptr)->code == (c)))

Definition at line 40 of file gxerror.h.

#define gx_error_no_memory   NULL

Function Documentation

GError* gx_error_new ( GQuark  domain,
gint  code,
const gchar *  format,
  ... 
)
GError* GError* gx_error_new_literal ( GQuark  domain,
gint  code,
const gchar *  message 
)

Definition at line 90 of file gxerror.c.

References SET_TRAP_OOM_VALUE, and UNSET_TRAP_OOM.

Referenced by lua_get_gerror().

GError* gx_error_new_valist ( GQuark  domain,
gint  code,
const gchar *  format,
va_list  args 
)

Definition at line 44 of file gxerror.c.

References error(), SET_TRAP_OOM_FAIL, and UNSET_TRAP_OOM.

Referenced by gx_error_new().


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:59 2011 by Doxygen 1.6.1