aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma-native.hh
blob: 81b8e7854599d725ffbb8aef48ee5946e47e63c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* See LICENSE file for copyright and license details. */
#ifndef LIBGAMMA_NATIVE_HH
#define LIBGAMMA_NATIVE_HH

extern "C"
{
# ifdef __GNUC__
#  define restrict __restrict__
# else
#  define restrict /* remove */
# endif
# define this self
# include <libgamma.h>
# undef this
# undef restrict
# ifndef __GNUC__
#  ifdef __attribute__
#   undef __attribute__
#  endif
# endif
}

#endif