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_OS_WIN32 #define G_OS_BEOS #define G_OS_UNIX #define G_DIR_SEPARATOR #define G_DIR_SEPARATOR_S #define G_IS_DIR_SEPARATOR (c) #define G_SEARCHPATH_SEPARATOR #define G_SEARCHPATH_SEPARATOR_S #define TRUE #define FALSE #define NULL #define MIN (a, b) #define MAX (a, b) #define ABS (a) #define CLAMP (x, low, high) #define G_STRUCT_MEMBER (member_type, struct_p, struct_offset) #define G_STRUCT_MEMBER_P (struct_p, struct_offset) #define G_STRUCT_OFFSET (struct_type, member) #define G_MEM_ALIGN #define G_CONST_RETURN DetailsG_OS_WIN32#define G_OS_WIN32 This macro is defined only on Windows. So you can bracket Windows-specific code in "#ifdef G_OS_WIN32". G_OS_BEOS#define G_OS_BEOS This macro is defined only on BeOS. So you can bracket BeOS-specific code in "#ifdef G_OS_BEOS". G_OS_UNIX#define G_OS_UNIX This macro is defined only on UNIX. So you can bracket UNIX-specific code in "#ifdef G_OS_UNIX". G_DIR_SEPARATOR#define G_DIR_SEPARATOR The directory separator character. This is '/' on UNIX machines and '\' under Windows. G_DIR_SEPARATOR_S#define G_DIR_SEPARATOR_S The directory separator as a string. This is "/" on UNIX machines and "\" under Windows. G_IS_DIR_SEPARATOR()#define G_IS_DIR_SEPARATOR(c)
Checks whether a character is a directory
separator. It returns
Since 2.6 G_SEARCHPATH_SEPARATOR#define G_SEARCHPATH_SEPARATOR The search path separator character. This is ':' on UNIX machines and ';' under Windows. G_SEARCHPATH_SEPARATOR_S#define G_SEARCHPATH_SEPARATOR_S The search path separator as a string. This is ":" on UNIX machines and ";" under Windows. MIN()#define MIN(a, b) (((a) < (b)) ? (a) : (b))
Calculates the minimum of
MAX()#define MAX(a, b) (((a) > (b)) ? (a) : (b))
Calculates the maximum of
ABS()#define ABS(a) (((a) < 0) ? -(a) : (a))
Calculates the absolute value of For example,
CLAMP()#define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
Ensures that For example,
G_STRUCT_MEMBER()#define G_STRUCT_MEMBER(member_type, struct_p, struct_offset) Returns a member of a structure at a given offset, using the given type.
G_STRUCT_MEMBER_P()#define G_STRUCT_MEMBER_P(struct_p, struct_offset) Returns an untyped pointer to a given offset of a struct.
G_STRUCT_OFFSET()#define G_STRUCT_OFFSET(struct_type, member) Returns the offset, in bytes, of a member of a struct.
G_MEM_ALIGN#define G_MEM_ALIGN Indicates the number of bytes to which memory will be aligned on the current platform. G_CONST_RETURN#define G_CONST_RETURN
If
|
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.003 ]-- |