Peano
Loading...
Searching...
No Matches
inline.h
Go to the documentation of this file.
1/*******************************************************************************
2 * This file is part of SWIFT.
3 * Copyright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk),
4 * Matthieu Schaller (schaller@strw.leidenuniv.nl).
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 ******************************************************************************/
20#ifndef SWIFT_INLINE_H
21#define SWIFT_INLINE_H
22
23/* Config parameters. */
24#include <config.h>
25
29#ifndef INLINE
30#ifdef __cplusplus
31#define INLINE inline
32#else
33#if __GNUC__ && !__GNUC_STDC_INLINE__
34#define INLINE extern inline
35#else
36#define INLINE inline
37#endif
38#endif
39#endif
40
41#endif /* SWIFT_INLINE_H */