Krita Source Code Documentation
Loading...
Searching...
No Matches
KoAlwaysInline.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KO_ALWAYS_INLINE_H
8#define __KO_ALWAYS_INLINE_H
9
10#ifndef ALWAYS_INLINE
11#if defined __GNUC__
12#define ALWAYS_INLINE inline __attribute__((__always_inline__))
13#elif defined _MSC_VER
14#define ALWAYS_INLINE __forceinline
15#else
16#define ALWAYS_INLINE inline
17#endif
18#endif
19
20#endif /* __KO_ALWAYS_INLINE_H */