Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
config.h File Reference
#include <cstdlib>
#include "flutter/fml/logging.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Macros

#define IMPELLER_COMPILER_CLANG   0
 
#define IMPELLER_PRINTF_FORMAT(format_number, args_number)
 
#define IMPELLER_UNIMPLEMENTED    impeller::ImpellerUnimplemented(__FUNCTION__, __FILE__, __LINE__);
 

Functions

void impeller::ImpellerUnimplemented (const char *method, const char *file, int line)
 

Macro Definition Documentation

◆ IMPELLER_COMPILER_CLANG

#define IMPELLER_COMPILER_CLANG   0

Definition at line 15 of file config.h.

◆ IMPELLER_PRINTF_FORMAT

#define IMPELLER_PRINTF_FORMAT (   format_number,
  args_number 
)

Definition at line 22 of file config.h.

◆ IMPELLER_UNIMPLEMENTED

#define IMPELLER_UNIMPLEMENTED    impeller::ImpellerUnimplemented(__FUNCTION__, __FILE__, __LINE__);

Definition at line 25 of file config.h.

27 {
28
29[[noreturn]] inline void ImpellerUnimplemented(const char* method,
30 const char* file,
31 int line) {
32 FML_CHECK(false) << "Unimplemented: " << method << " in " << file << ":"
33 << line;
34 std::abort();
35}
36
37} // namespace impeller
38
39#endif // FLUTTER_IMPELLER_BASE_CONFIG_H_
#define FML_CHECK(condition)
Definition logging.h:85
void ImpellerUnimplemented(const char *method, const char *file, int line)
Definition config.h:30