Move constant definitions out embedder.h (flutter/engine#8498)

This commit is contained in:
stuartmorgan
2019-04-10 10:03:10 -07:00
committed by GitHub
parent 2b4e6ce82b
commit 93b8033015
2 changed files with 5 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ extern const intptr_t kPlatformStrongDillSize;
#include "flutter/shell/platform/embedder/embedder_thread_host.h"
#include "flutter/shell/platform/embedder/platform_view_embedder.h"
const int32_t kFlutterSemanticsNodeIdBatchEnd = -1;
const int32_t kFlutterSemanticsCustomActionIdBatchEnd = -1;
static FlutterEngineResult LogEmbedderError(FlutterEngineResult code,
const char* name,
const char* function,

View File

@@ -343,7 +343,7 @@ typedef struct {
// |FlutterSemanticsNode| ID used as a sentinel to signal the end of a batch of
// semantics node updates.
const int32_t kFlutterSemanticsNodeIdBatchEnd = -1;
extern const int32_t kFlutterSemanticsNodeIdBatchEnd;
// A node that represents some semantic data.
//
@@ -414,7 +414,7 @@ typedef struct {
// |FlutterSemanticsCustomAction| ID used as a sentinel to signal the end of a
// batch of semantics custom action updates.
const int32_t kFlutterSemanticsCustomActionIdBatchEnd = -1;
extern const int32_t kFlutterSemanticsCustomActionIdBatchEnd;
// A custom semantics action, or action override.
//