summaryrefslogtreecommitdiffstats
path: root/third_party/cython/python_export.h
blob: e943399c2ce07a5127df1fdada7ae4524de3a303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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.

#if defined(PyMODINIT_FUNC)
#undef PyMODINIT_FUNC
#endif

#if defined(WIN32)
#define PyMODINIT_FUNC extern "C" __declspec(dllexport) void
#else
#define PyMODINIT_FUNC extern "C" __attribute__((visibility("default"))) void
#endif