mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
132d38cd22
* Moves pointer event sanitizing to engine * fix comment format * fix formatting * addressing comment * fix format * fix format * addressing comment
19 lines
479 B
C++
19 lines
479 B
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "flutter/lib/ui/window/pointer_data.h"
|
|
|
|
#include <string.h>
|
|
|
|
namespace flutter {
|
|
|
|
static_assert(sizeof(PointerData) == kBytesPerField * kPointerDataFieldCount,
|
|
"PointerData has the wrong size");
|
|
|
|
void PointerData::Clear() {
|
|
memset(this, 0, sizeof(PointerData));
|
|
}
|
|
|
|
} // namespace flutter
|