+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:
// 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.
#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
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);