codegen: Fix floating reference regression with Variants
[vala-gnome.git] / ccode / valaccodemodifiers.vala
blob2574230407923a5035bbb61d9270fe6ae8be38db
1 /* valaccodemodifiers.vala
3 * Copyright (C) 2006-2010 Jürg Billeter
4 * Copyright (C) 2006-2008 Raffaele Sandrini
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 * Author:
21 * Jürg Billeter <j@bitron.ch>
22 * Raffaele Sandrini <raffaele@sandrini.ch>
25 using GLib;
27 [Flags]
28 public enum Vala.CCodeModifiers {
29 NONE = 0,
30 STATIC = 1 << 0,
31 REGISTER = 1 << 1,
32 EXTERN = 1 << 2,
33 INLINE = 1 << 3,
34 VOLATILE = 1 << 4,
35 DEPRECATED = 1 << 5,
36 THREAD_LOCAL = 1 << 6,
37 INTERNAL = 1 << 7,
38 CONST = 1 << 8,
39 UNUSED = 1 << 9,
40 CONSTRUCTOR = 1 << 10,
41 DESTRUCTOR = 1 << 11,
42 FORMAT_ARG = 1 << 12,
43 PRINTF = 1 << 13,
44 SCANF = 1 << 14