Constant

GLibGINTPTR_FORMAT

Declaration

#define G_GINTPTR_FORMAT "li"

Description

This is the platform dependent conversion specifier for scanning and printing values of type #gintptr.

Note that this is not necessarily the correct format to scan or print an intptr_t, even though the in-memory representation is the same. Standard C macros like PRIdPTR and SCNdPTR should be used for intptr_t.