| // 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. |
| |
| #ifndef FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_INLINES_H_ |
| #define FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_INLINES_H_ |
| |
| namespace dart_utils { |
| |
| template <size_t SIZE, typename T> |
| inline size_t ArraySize(T (&array)[SIZE]) { |
| return SIZE; |
| } |
| |
| } // namespace dart_utils |
| |
| #endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_RUNTIME_DART_UTILS_INLINES_H_ |