diff options
author | Diego Novillo <dnovillo@redhat.com> | 2003-01-17 19:56:11 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@redhat.com> | 2003-01-17 19:56:11 +0000 |
commit | 064d1db22e7e18361f8a5a8b7495bd1bed19ad5c (patch) | |
tree | 5e1505b9835c3f77ebd28e2c80236a9033bca3b9 /libjava/gcj | |
parent | 1e026a5d708e5486cd647bedb6ed203607907cf6 (diff) |
Mainline merge as of 2003-01-17.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@61454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gcj')
-rw-r--r-- | libjava/gcj/array.h | 12 | ||||
-rw-r--r-- | libjava/gcj/javaprims.h | 38 |
2 files changed, 33 insertions, 17 deletions
diff --git a/libjava/gcj/array.h b/libjava/gcj/array.h index db58ddfbdf8..33ea038df93 100644 --- a/libjava/gcj/array.h +++ b/libjava/gcj/array.h @@ -1,6 +1,6 @@ // array.h - Header file for CNI arrays. -*- c++ -*- -/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation This file is part of libgcj. @@ -30,6 +30,14 @@ public: }; template<class T> +class JArray; + +template<class T> +inline T* elements(JArray<T>& x); +template<class T> +inline T* elements(JArray<T>* x); + +template<class T> class JArray : public __JArray { T data[0]; @@ -45,7 +53,7 @@ inline T* elements(JArray<T>& x) { return x.data; } template<class T> inline T* elements(JArray<T>* x) { return x->data; } -}; // end extern "Java" +} // end extern "Java" /* These typesdefs match those in JNI. */ typedef __JArray *jarray; diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index 8ed649432a2..99b2fc1b153 100644 --- a/libjava/gcj/javaprims.h +++ b/libjava/gcj/javaprims.h @@ -123,7 +123,7 @@ extern "Java" class ValidatorAndPriority; class WriteAbortedException; class Writer; - }; + } namespace lang { @@ -222,7 +222,7 @@ extern "Java" class ReferenceQueue; class SoftReference; class WeakReference; - }; + } namespace reflect { @@ -230,18 +230,20 @@ extern "Java" class Array; class Constructor; class Field; - class InvocationHandler; + class InvocationHandler; class InvocationTargetException; class Member; class Method; class Modifier; - class Proxy; - class Proxy$ProxyData; - class Proxy$ProxyType; + class Proxy; + class Proxy$ClassFactory; + class Proxy$ProxyData; + class Proxy$ProxySignature; + class Proxy$ProxyType; class ReflectPermission; - class UndeclaredThrowableException; - }; - }; + class UndeclaredThrowableException; + } + } namespace util { @@ -334,7 +336,6 @@ extern "Java" class RandomAccess; class RandomAccessSubList; class ResourceBundle; - class ResourceBundle$Security; class Set; class SimpleTimeZone; class SortedMap; @@ -369,7 +370,14 @@ extern "Java" class JarInputStream; class JarOutputStream; class Manifest; - }; + } + + namespace regex + { + class Matcher; + class Pattern; + class PatternSyntaxException; + } namespace zip { @@ -393,10 +401,10 @@ extern "Java" class ZipFile$ZipEntryEnumeration; class ZipInputStream; class ZipOutputStream; - }; - }; - }; -}; + } + } + } +} typedef struct java::lang::Object* jobject; typedef class java::lang::Class* jclass; |