mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
19 lines
575 B
C
19 lines
575 B
C
// Copyright 2014 The Chromium 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 MOJO_PUBLIC_PLATFORM_THUNK_EXPORT_H_
|
|
#define MOJO_PUBLIC_PLATFORM_THUNK_EXPORT_H_
|
|
|
|
// Call this function by looking inside the resulting shared object and
|
|
// grabbing the symbol manually.
|
|
//
|
|
// Always export this api.
|
|
#if defined(WIN32)
|
|
#define THUNK_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define THUNK_EXPORT __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#endif // MOJO_PUBLIC_PLATFORM_THUNK_EXPORT_H_
|