5#ifndef FLUTTER_IMPELLER_BASE_CONFIG_H_
6#define FLUTTER_IMPELLER_BASE_CONFIG_H_
10#include "flutter/fml/logging.h"
12#if defined(__GNUC__) || defined(__clang__)
13#define IMPELLER_COMPILER_CLANG 1
15#define IMPELLER_COMPILER_CLANG 0
18#if IMPELLER_COMPILER_CLANG
19#define IMPELLER_PRINTF_FORMAT(format_number, args_number) \
20 __attribute__((format(printf, format_number, args_number)))
22#define IMPELLER_PRINTF_FORMAT(format_number, args_number)
25#define IMPELLER_UNIMPLEMENTED \
26 impeller::ImpellerUnimplemented(__FUNCTION__, __FILE__, __LINE__);
33 FML_CHECK(
false) <<
"Unimplemented: " << method <<
" in " <<
file <<
":"
#define FML_CHECK(condition)
void ImpellerUnimplemented(const char *method, const char *file, int line)