* src/vm/jit/powerpc/emit.c (emit_replacement_stubs): Do not
[cacao.git] / src / vm / annotation.h
1 /* src/vm/annotation.h - class annotations
2
3    Copyright (C) 2006 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4    R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5    C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6    Institut f. Computersprachen - TU Wien
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23    02110-1301, USA.
24
25    Contact: cacao@cacaojvm.org
26
27    Authors: Christian Thalinger
28
29    $Id: utf8.h 5920 2006-11-05 21:23:09Z twisti $
30
31 */
32
33
34 #ifndef _ANNOTATION_H
35 #define _ANNOTATION_H
36
37 /* forward typedefs ***********************************************************/
38
39 typedef struct annotation_t    annotation_t;
40 typedef struct element_value_t element_value_t;
41
42 #include "config.h"
43 #include "vm/types.h"
44
45 #include "vm/global.h"
46 #include "vm/loader.h"
47 #include "vm/utf8.h"
48
49
50 /* annotation *****************************************************************/
51
52 struct annotation_t {
53         utf             *type;
54         s4               element_valuescount;
55         element_value_t *element_values;
56 };
57
58
59 /* element_value **************************************************************/
60
61 struct element_value_t {
62         utf *name;
63         u1   tag;
64 };
65
66
67 /* function prototypes ********************************************************/
68
69 bool annotation_load_attribute_runtimevisibleannotations(classbuffer *cb);
70
71 #endif /* _ANNOTATION_H */
72
73
74 /*
75  * These are local overrides for various environment variables in Emacs.
76  * Please do not remove this and leave it at the end of the file, where
77  * Emacs will automagically detect them.
78  * ---------------------------------------------------------------------
79  * Local variables:
80  * mode: c
81  * indent-tabs-mode: t
82  * c-basic-offset: 4
83  * tab-width: 4
84  * End:
85  * vim:noexpandtab:sw=4:ts=4:
86  */