Constant

GLibGUINT16_FORMAT

since: 2.0

Declaration

#define G_GUINT16_FORMAT "hu"

Description

This is the platform dependent conversion specifier for scanning and printing values of type #guint16. See also G_GINT16_FORMAT

This is not necessarily the correct modifier for printing and scanning uint16_t values, even though the in-memory representation is the same. Standard C macros like PRIu16 and SCNu16 should be used for uint16_t.

Available since: 2.0