Commit af43b1ad by Tom Tromey Committed by Tom Tromey

* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".

From-SVN: r95405
parent 84b6a4d2
2005-02-22 Tom Tromey <tromey@redhat.com>
* java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
2005-02-22 Tom Tromey <tromey@redhat.com>
PR java/20056:
* verify.cc (type::EITHER): New constant.
(check_field_constant): Use it.
......
// Object.h - Header file for java.lang.Object. -*- c++ -*-
/* Copyright (C) 1998, 1999, 2000, 2001, 2004 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005 Free Software Foundation
This file is part of libgcj.
......@@ -15,6 +15,8 @@ details. */
#include <gcj/javaprims.h>
extern "Java"
{
// This class is mainly here as a kludge to get G++ to allocate two
// extra entries in each vtable.
struct _JvObjectPrefix
......@@ -27,6 +29,7 @@ protected:
virtual void nacd_2 (void) {}; // Actually the GC bitmap marking descriptor.
# endif
};
}
// Forward declarations for friends of java::lang::Object
void _Jv_MonitorEnter (jobject obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment