From 041b9c0e8397e0d6df31b2f8bdb283689a3cbfc4 Mon Sep 17 00:00:00 2001 From: twisti Date: Sat, 16 Dec 2006 13:04:22 +0000 Subject: [PATCH] * src/vm/annotation.c (annotation_load_attribute_runtimevisibleannotations): Extended comment, removed #ifdef ENABLE_JAVASE. --- src/vm/annotation.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/vm/annotation.c b/src/vm/annotation.c index eb2b4eab2..7a335b2ee 100644 --- a/src/vm/annotation.c +++ b/src/vm/annotation.c @@ -57,10 +57,26 @@ element_value element; } element_value_pairs[num_element_value_pairs]; } - + + element_value { + u1 tag; + union { + u2 const_value_index; + { + u2 type_name_index; + u2 const_name_index; + } enum_const_value; + u2 class_info_index; + annotation annotation_value; + { + u2 num_values; + element_value values[num_values]; + } array_value; + } value; + } + *******************************************************************************/ -#if defined(ENABLE_JAVASE) bool annotation_load_attribute_runtimevisibleannotations(classbuffer *cb) { classinfo *c; @@ -148,7 +164,6 @@ bool annotation_load_attribute_runtimevisibleannotations(classbuffer *cb) return true; } -#endif /* defined(ENABLE_JAVASE) */ /* -- 2.25.1