aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-10-21 01:57:42 +0000
committerAndrew Cagney <cagney@redhat.com>2001-10-21 01:57:42 +0000
commit75c9979e9af39cf456a1cffe41ecb0ac711d7896 (patch)
tree634fa2ccc02c36217049606078292043ae0a98ee /gdb/jv-lang.h
parente933e53888498476dd40ce8e87fb18d8909499b2 (diff)
downloadgdb-75c9979e9af39cf456a1cffe41ecb0ac711d7896.zip
gdb-75c9979e9af39cf456a1cffe41ecb0ac711d7896.tar.gz
gdb-75c9979e9af39cf456a1cffe41ecb0ac711d7896.tar.bz2
s/value_ptr/struct value */
Diffstat (limited to 'gdb/jv-lang.h')
-rw-r--r--gdb/jv-lang.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/jv-lang.h b/gdb/jv-lang.h
index 822cf08..61fb943 100644
--- a/gdb/jv-lang.h
+++ b/gdb/jv-lang.h
@@ -18,6 +18,11 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef JV_LANG_H
+#define JV_LANG_H
+
+struct value;
+
extern int java_parse (void); /* Defined in jv-exp.y */
extern void java_error (char *); /* Defined in jv-exp.y */
@@ -42,7 +47,7 @@ extern int java_val_print (struct type *, char *, int, CORE_ADDR,
extern int java_value_print (struct value *, struct ui_file *, int,
enum val_prettyprint);
-extern value_ptr java_class_from_object (value_ptr);
+extern struct value *java_class_from_object (struct value *);
extern struct type *type_from_class (struct value *);
@@ -64,3 +69,5 @@ extern void java_print_type (struct type *, char *, struct ui_file *, int,
int);
extern char *java_demangle_type_signature (char *);
+
+#endif