|
35 #include <cpl_macros.h>
51 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
52 # define GI_GNUC_PRINTF(format_idx, arg_idx) \
53 __attribute__((format(__printf__, (format_idx), (arg_idx))))
55 # define GI_GNUC_PRINTF(format_idx, arg_idx)
59 #if !defined CX_LOG_DOMAIN
60 # define CX_LOG_DOMAIN "GiraffeLib"
64 void gi_error( const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
65 void gi_critical(const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
66 void gi_warning(const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
67 void gi_message(const cxchar *, ...) GI_GNUC_PRINTF(1, 2);
|