From 3e895978eef47edaf67b59f02d9f847c55ac26dc Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 22 Jan 2003 20:51:55 +0000 Subject: gcj.texi (Input and output files): Mention non-class entries. * gcj.texi (Input and output files): Mention non-class entries. * decl.c (java_init_decl_processing): Call init_resource_processing. * java-tree.h (compile_resource_data, write_resource_constructor, compile_resource_file, init_resource_processing): Declare. * config-lang.in (gtfiles): Added resource.c. * Make-lang.in (gt-java-resource.h): New target. (JAVA_OBJS): Added resource.o. (java/resource.o): New target. * resource.c: New file. * class.c (compile_resource_file): Moved to resource.c. (registerResource_libfunc): Likewise. (utf8_decl_list): Mark with GTY; now static. * jcf-parse.c (classify_zip_file): New function. (parse_zip_file_entries): Use it; compile .properties files. (process_zip_dir): Use classify_zip_file and compute_class_name. Don't write class name into zip directory. (java_parse_file): Call write_resource_constructor. (compute_class_name): New function. * jcf-io.c (read_zip_member): Reindented. From-SVN: r61614 --- gcc/java/java-tree.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gcc/java/java-tree.h') diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 88e6f07..ccedb9a 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1299,6 +1299,13 @@ struct rtx_def * java_expand_expr (tree, rtx, enum machine_mode, int); extern void java_inlining_merge_static_initializers (tree, void *); extern void java_inlining_map_static_initializers (tree, void *); +extern void compile_resource_data PARAMS ((char *name, const char *buffer, + int length)); +extern void write_resource_constructor PARAMS ((void)); +extern void compile_resource_file PARAMS ((char *name, const char *filename)); +extern void init_resource_processing PARAMS ((void)); + + #define DECL_FINAL(DECL) DECL_LANG_FLAG_3 (DECL) /* Access flags etc for a method (a FUNCTION_DECL): */ -- cgit v1.1