Blender V5.3
meshoptimizer_bridge/intern/common.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#if defined(_MSC_VER)
8# define API(returnType) extern "C" __declspec(dllexport) returnType __cdecl
9#else
10# define API(returnType) extern "C" returnType
11#endif