Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions shell/platform/embedder/embedder.h
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ typedef void (*FlutterUpdateSemanticsCallback2)(

/// An update to whether a message channel has a listener set or not.
typedef struct {
// The size of the struct. Must be sizeof(FlutterChannelUpdate).
/// The size of the struct. Must be sizeof(FlutterChannelUpdate).
size_t struct_size;
/// The name of the channel.
const char* channel;
Expand Down Expand Up @@ -1640,6 +1640,7 @@ typedef struct {
} FlutterSoftwareBackingStore;

typedef struct {
/// The size of this struct. Must be sizeof(FlutterSoftwareBackingStore2).
size_t struct_size;
/// A pointer to the raw bytes of the allocation described by this software
/// backing store.
Expand Down Expand Up @@ -1813,6 +1814,7 @@ typedef struct {
/// Contains additional information about the backing store provided
/// during presentation to the embedder.
typedef struct {
/// The size of this struct. Must be sizeof(FlutterBackingStorePresentInfo).
size_t struct_size;

/// The area of the backing store that contains Flutter contents. Pixels
Expand Down Expand Up @@ -1974,7 +1976,7 @@ typedef const FlutterLocale* (*FlutterComputePlatformResolvedLocaleCallback)(
size_t /* Number of locales*/);

typedef struct {
/// This size of this struct. Must be sizeof(FlutterDisplay).
/// The size of this struct. Must be sizeof(FlutterDisplay).
Comment thread
cbracken marked this conversation as resolved.
Outdated
size_t struct_size;

FlutterEngineDisplayId display_id;
Expand Down