|
|
27#include <cpl_macros.h>
43#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
44# define GI_GNUC_PRINTF(format_idx, arg_idx) \
45 __attribute__((format(__printf__, (format_idx), (arg_idx))))
47# define GI_GNUC_PRINTF(format_idx, arg_idx)
51#if !defined CX_LOG_DOMAIN
52# define CX_LOG_DOMAIN "GiraffeLib"
56void gi_error( const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
57void gi_critical(const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
58void gi_warning(const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
59void gi_message(const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
void gi_error(const cxchar *format,...) Log an error message.
|