Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Macros
direct_manipulation.cc File Reference
#include "flutter/fml/logging.h"
#include <algorithm>
#include "flutter/shell/platform/windows/direct_manipulation.h"
#include "flutter/shell/platform/windows/flutter_window.h"
#include "flutter/shell/platform/windows/window_binding_handler_delegate.h"

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; \
}
static void operation(T operation, uint32_t &a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint8_t s, uint32_t t)
Definition SkMD5.cpp:144
#define ERROR(message)
#define FAILED(hr)

Definition at line 13 of file direct_manipulation.cc.

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

◆ WARN_IF_FAILED

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

Definition at line 22 of file direct_manipulation.cc.

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