Flutter Engine
The Flutter Engine
macros.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_COMMON_MACROS_H_
6#define FLUTTER_COMMON_MACROS_H_
7
8#if SLIMPELLER
9
10#define ONLY_IN_SLIMPELLER(code) code
11#define NOT_SLIMPELLER(code)
12
13#else // SLIMPELLER
14
15#define ONLY_IN_SLIMPELLER(code)
16#define NOT_SLIMPELLER(code) code
17
18#endif // SLIMPELLER
19
20#endif // FLUTTER_COMMON_MACROS_H_