mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
d452dd5c36
Changes include: - File structure - Header guards - Include paths - Namespaces - Integration with the engine's GN build - Conversion from jsoncpp to rapidjson - Style and clang-format adjustment to match engine repository
28 lines
821 B
C
28 lines
821 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.
|
|
|
|
#ifndef FLUTTER_SHELL_PLATFORM_COMMON_CPP_PUBLIC_FLUTTER_EXPORT_H_
|
|
#define FLUTTER_SHELL_PLATFORM_COMMON_CPP_PUBLIC_FLUTTER_EXPORT_H_
|
|
|
|
#ifdef FLUTTER_DESKTOP_LIBRARY
|
|
// Add visibility/export annotations when building the library.
|
|
|
|
#ifdef _WIN32
|
|
#define FLUTTER_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define FLUTTER_EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#else // FLUTTER_DESKTOP_LIBRARY
|
|
|
|
// Add import annotations when consuming the library.
|
|
#ifdef _WIN32
|
|
#define FLUTTER_EXPORT __declspec(dllimport)
|
|
#else
|
|
#define FLUTTER_EXPORT
|
|
#endif
|
|
|
|
#endif // FLUTTER_DESKTOP_LIBRARY
|
|
|
|
#endif // FLUTTER_SHELL_PLATFORM_COMMON_CPP_PUBLIC_FLUTTER_EXPORT_H_
|