GLib Fundamentals

Version Information — Variables and functions to check the GLib version
Basic Types — standard GLib types, defined for ease-of-use and portability
Limits of Basic Types — portable method of determining the limits of the standard types
Standard Macros — commonly-used macros.
Type Conversion Macros — portably storing integers in pointer variables
Byte Order Macros — a portable way to convert between different byte orders
Numerical Definitions — mathematical constants, and floating point decomposition
Miscellaneous Macros — specialized macros which are not used often
Atomic Operations — basic atomic integer and pointer operations