OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [gnu-inline-common.h] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
#ifndef gnu
2
# define gnu_inline __attribute__((gnu_inline)) inline
3
#endif
4
 
5
#define declspec(spec, name) spec int name (void)
6
#ifdef IN_CLASS
7
# define decl(spec, name)
8
#else
9
# define decl(spec, name) defpfx declspec(spec, name);
10
#endif
11
#define def(spec, name, ret) defpfx declspec(spec, name) { return ret; }
12
#define gnuindef(name, ret) def(gnu_inline, name, ret)
13
 
14
#ifndef pfx
15
# ifdef IN_CLASS
16
#  define pfx(x) IN_CLASS::x
17
# else
18
#  define pfx(x) x
19
# endif
20
#endif
21
 
22
#ifndef defpfx
23
# define defpfx
24
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.