Ginga  0.13.6.1771-df200
The iTV middleware.
aux-glib.h File Reference
#include <glib.h>
#include <glib/gstdio.h>
Include dependency graph for aux-glib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define cast(t, x)   ((t)(x))
 
#define deconst(t, x)   ((t)(ptrdiff_t)(const void *)(x))
 
#define devolatile(t, x)   ((t)(ptrdiff_t)(volatile void *)(x))
 
#define integralof(x)   (((char *)(x)) - ((char *) 0))
 
#define likely   G_LIKELY
 
#define nelementsof(x)   G_N_ELEMENTS ((x))
 
#define pointerof(x)   ((void *)((char *) 0 + ((size_t)(x))))
 
#define strbool(x)   ((x) ? "true" : "false")
 
#define tryset(p, x)   ((p) ? *(p) = (x) : (x))
 
#define unlikely   G_UNLIKELY
 
#define unused(arg)   arg G_GNUC_UNUSED
 
#define GNUC_PREREQ(major, minor)   0
 
#define PRAGMA_DIAG(x)
 
#define PRAGMA_DIAG_PUSH()
 
#define PRAGMA_DIAG_POP()
 
#define PRAGMA_DIAG_IGNORE(x)   PRAGMA_DIAG (ignored G_STRINGIFY (x))
 
#define PRAGMA_DIAG_WARNING(x)   PRAGMA_DIAG (warning G_STRINGIFY (x))
 

Macro Definition Documentation

#define cast (   t,
 
)    ((t)(x))
#define deconst (   t,
 
)    ((t)(ptrdiff_t)(const void *)(x))
#define devolatile (   t,
 
)    ((t)(ptrdiff_t)(volatile void *)(x))
#define GNUC_PREREQ (   major,
  minor 
)    0
#define integralof (   x)    (((char *)(x)) - ((char *) 0))
#define likely   G_LIKELY
#define nelementsof (   x)    G_N_ELEMENTS ((x))
#define pointerof (   x)    ((void *)((char *) 0 + ((size_t)(x))))

Referenced by ParserState::popRegion().

#define PRAGMA_DIAG (   x)
#define PRAGMA_DIAG_IGNORE (   x)    PRAGMA_DIAG (ignored G_STRINGIFY (x))
#define PRAGMA_DIAG_POP ( )
#define PRAGMA_DIAG_PUSH ( )
#define PRAGMA_DIAG_WARNING (   x)    PRAGMA_DIAG (warning G_STRINGIFY (x))
#define strbool (   x)    ((x) ? "true" : "false")
#define unused (   arg)    arg G_GNUC_UNUSED