Flutter Engine
 
Loading...
Searching...
No Matches
direct_manipulation.cc File Reference

Go to the source code of this file.

Namespaces

namespace  flutter
 

Macros

#define RETURN_IF_FAILED(operation)
 
#define WARN_IF_FAILED(operation)
 

Macro Definition Documentation

◆ RETURN_IF_FAILED

#define RETURN_IF_FAILED (   operation)
Value:
if (FAILED(operation)) { \
FML_LOG(ERROR) << #operation << " failed"; \
manager_ = nullptr; \
updateManager_ = nullptr; \
viewport_ = nullptr; \
return -1; \
}
#define FAILED(hr)

Definition at line 14 of file direct_manipulation.cc.

15 { \
16 FML_LOG(ERROR) << #operation << " failed"; \
17 manager_ = nullptr; \
18 updateManager_ = nullptr; \
19 viewport_ = nullptr; \
20 return -1; \
21 }

◆ WARN_IF_FAILED

#define WARN_IF_FAILED (   operation)
Value:
if (FAILED(operation)) { \
FML_LOG(ERROR) << #operation << " failed"; \
}

Definition at line 23 of file direct_manipulation.cc.

24 { \
25 FML_LOG(ERROR) << #operation << " failed"; \
26 }