Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/glib/ drwxr-xr-x |
Viewing file: Select action/file-type:
Synopsis#include <glib.h> #define G_INLINE_FUNC #define G_STMT_START #define G_STMT_END #define G_BEGIN_DECLS #define G_END_DECLS #define G_N_ELEMENTS (arr) #define G_VA_COPY #define G_STRINGIFY (macro_or_string) #define G_GNUC_EXTENSION #define G_GNUC_CONST #define G_GNUC_PURE #define G_GNUC_MALLOC #define G_GNUC_DEPRECATED #define G_GNUC_NORETURN #define G_GNUC_UNUSED #define G_GNUC_PRINTF ( format_idx, arg_idx ) #define G_GNUC_SCANF ( format_idx, arg_idx ) #define G_GNUC_FORMAT ( arg_idx ) #define G_GNUC_FUNCTION #define G_GNUC_PRETTY_FUNCTION #define G_GNUC_NO_INSTRUMENT #define G_HAVE_GNUC_VISIBILITY #define G_GNUC_INTERNAL #define G_LIKELY (expr) #define G_UNLIKELY (expr) #define G_STRLOC #define G_STRFUNC #define G_GINT16_MODIFIER #define G_GINT16_FORMAT #define G_GUINT16_FORMAT #define G_GINT32_MODIFIER #define G_GINT32_FORMAT #define G_GUINT32_FORMAT #define G_GINT64_MODIFIER #define G_GINT64_FORMAT #define G_GUINT64_FORMAT #define G_GSIZE_MODIFIER #define G_GSIZE_FORMAT #define G_GSSIZE_FORMAT DescriptionThese macros provide more specialized features which are not needed so often by application programmers. DetailsG_INLINE_FUNC#define G_INLINE_FUNC Used to declare inline functions. If inline functions are not supported on the particular platform, the macro evaluates to the empty string. G_STMT_START#define G_STMT_START Used within multi-statement macros so that they can be used in places where only one statement is expected by the compiler. G_STMT_END#define G_STMT_END Used within multi-statement macros so that they can be used in places where only one statement is expected by the compiler. G_BEGIN_DECLS#define G_BEGIN_DECLS
Used (along with G_END_DECLS) to bracket header files. If the
compiler in use is a C++ compiler, adds G_END_DECLS#define G_END_DECLS
Used (along with G_BEGIN_DECLS) to bracket header files. If the
compiler in use is a C++ compiler, adds G_N_ELEMENTS()#define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) Determines the number of elements in an array. The array must be declared so the compiler knows its size at compile-time; this macro will not work on an array allocated on the heap, only static arrays or arrays on the stack.
G_VA_COPY#define G_VA_COPY Portable way to copy va_list variables.
In order to use this function, you must include G_STRINGIFY()#define G_STRINGIFY(macro_or_string) G_STRINGIFY_ARG (macro_or_string) Accepts a macro or a string and converts it into a string.
G_GNUC_EXTENSION#define G_GNUC_EXTENSION
Expands to G_GNUC_CONST#define G_GNUC_CONST
Expands to the GNU C NoteA function that has pointer arguments and examines the data pointed to must not be declared const. Likewise, a function that calls a non-const function usually must not be const. It doesn't make sense for a const function to return void. G_GNUC_PURE#define G_GNUC_PURE
Expands to the GNU C G_GNUC_MALLOC#define G_GNUC_MALLOC
Expands to the GNU C Since 2.6 G_GNUC_DEPRECATED#define G_GNUC_DEPRECATED
Expands to the GNU C Since 2.2 G_GNUC_NORETURN#define G_GNUC_NORETURN
Expands to the GNU C G_GNUC_UNUSED#define G_GNUC_UNUSED
Expands to the GNU C G_GNUC_PRINTF()#define G_GNUC_PRINTF( format_idx, arg_idx )
Expands to the GNU C gint g_snprintf (gchar *string, gulong n, gchar const *format, ...) G_GNUC_PRINTF (3, 4);
G_GNUC_SCANF()#define G_GNUC_SCANF( format_idx, arg_idx )
Expands to the GNU C
G_GNUC_FORMAT()#define G_GNUC_FORMAT( arg_idx )
Expands to the GNU C gchar *g_dgettext (gchar *domain_name, gchar *msgid) G_GNUC_FORMAT (2);
G_GNUC_FUNCTION#define G_GNUC_FUNCTION
Expands to the GNU C G_GNUC_PRETTY_FUNCTION#define G_GNUC_PRETTY_FUNCTION
Expands to the GNU C G_GNUC_NO_INSTRUMENT#define G_GNUC_NO_INSTRUMENT
Expands to the GNU C G_HAVE_GNUC_VISIBILITY#define G_HAVE_GNUC_VISIBILITY 1 This macro is defined as 1 if the the compiler supports ELF visibility attributes (currently only gcc). Since: 2.6G_GNUC_INTERNAL#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
Expands to the GNU C G_LIKELY()#define G_LIKELY(expr) Hints the compiler that the expression is likely to evaluate to a true value. The compiler may use this information for optimizations.
if (G_LIKELY (
Since 2.2 G_UNLIKELY()#define G_UNLIKELY(expr) Hints the compiler that the expression is unlikely to evaluate to a true value. The compiler may use this information for optimizations.
if (G_UNLIKELY (
Since 2.2 G_GINT16_MODIFIER#define G_GINT16_MODIFIER "h"
The platform dependent length modifier for constructing The following example prints "0x7b"; gint16 value = 123; g_print ("%#" G_GINT16_MODIFIER "x", value);
Since 2.4 G_GINT16_FORMAT#define G_GINT16_FORMAT "hi" This is the platform dependent conversion specifier for scanning and printing values of type gint16. It is a string literal, but doesn't include the percent-sign, such that you can add precision and length modifiers between percent-sign and conversion specifier.
gint16 in; gint32 out; sscanf ("42", "%" G_GINT16_FORMAT, &in) out = in * 1000; g_print ("%" G_GINT32_FORMAT, out);
G_GUINT16_FORMAT#define G_GUINT16_FORMAT "hu" This is the platform dependent conversion specifier for scanning and printing values of type guint16. See also G_GINT16_FORMAT. G_GINT32_MODIFIER#define G_GINT32_MODIFIER ""
The platform dependent length modifier for constructing Since 2.4 G_GINT32_FORMAT#define G_GINT32_FORMAT "i" This is the platform dependent conversion specifier for scanning and printing values of type gint32. See also G_GINT16_FORMAT. G_GUINT32_FORMAT#define G_GUINT32_FORMAT "u" This is the platform dependent conversion specifier for scanning and printing values of type guint32. See also G_GINT16_FORMAT. G_GINT64_MODIFIER#define G_GINT64_MODIFIER "ll"
The platform dependent length modifier for constructing NoteSome platforms do not support printing 64 bit integers, even though the types are supported. On such platforms G_GINT64_MODIFIER is not defined. Since 2.4 G_GINT64_FORMAT#define G_GINT64_FORMAT "lli" This is the platform dependent conversion specifier for scanning and printing values of type gint64. See also G_GINT16_FORMAT. Note
Some platforms do not support scanning and printing 64 bit integers,
even though the types are supported. On such platforms G_GINT64_FORMAT
is not defined. Note that G_GUINT64_FORMAT#define G_GUINT64_FORMAT "llu" This is the platform dependent conversion specifier for scanning and printing values of type guint64. See also G_GINT16_FORMAT. Note
Some platforms do not support scanning and printing 64 bit integers,
even though the types are supported. On such platforms G_GUINT64_FORMAT
is not defined. Note that G_GSIZE_MODIFIER#define G_GSIZE_MODIFIER ""
The platform dependent length modifier for constructing Since 2.6 G_GSIZE_FORMAT#define G_GSIZE_FORMAT "u" This is the platform dependent conversion specifier for scanning and printing values of type gsize. See also G_GINT16_FORMAT. Since 2.6 G_GSSIZE_FORMAT#define G_GSSIZE_FORMAT "i" This is the platform dependent conversion specifier for scanning and printing values of type gssize. See also G_GINT16_FORMAT. Since 2.6
|
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0037 ]-- |