summaryrefslogtreecommitdiff
path: root/ccode/valaccodemodifiers.vala
blob: 7b83b5a91d8447a8335553a605cc68ddf96c4cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* valaccodemodifiers.vala
 *
 * Copyright (C) 2006-2010  Jürg Billeter
 * Copyright (C) 2006-2008  Raffaele Sandrini
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.

 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 *
 * Author:
 * 	Jürg Billeter <j@bitron.ch>
 *	Raffaele Sandrini <raffaele@sandrini.ch>
 */

using GLib;

[Flags]
public enum Vala.CCodeModifiers {
	NONE = 0,
	STATIC = 1 << 0,
	REGISTER = 1 << 1,
	EXTERN = 1 << 2,
	INLINE = 1 << 3,
	VOLATILE = 1 << 4,
	DEPRECATED = 1 << 5,
	THREAD_LOCAL = 1 << 6,
	INTERNAL = 1 << 7,
	CONST = 1 << 8,
	UNUSED = 1 << 9,
	CONSTRUCTOR = 1 << 10,
	DESTRUCTOR = 1 << 11,
	FORMAT_ARG = 1 << 12,
	PRINTF = 1 << 13,
	SCANF = 1 << 14,
	NO_INLINE = 1 << 15
}