* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
[official-gcc.git] / libjava / java / io / natObjectOutputStream.cc
blob45ab7537fc35c5798f08f71a26c975ac8f1a3152
1 // natObjectOutputStream.cc - Native part of ObjectOutputStream class.
3 /* Copyright (C) 1998, 1999 Free Software Foundation
5 This ObjectOutputStream is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the ObjectOutputStream "LIBGCJ_LICENSE" for
9 details. */
11 #include <config.h>
13 #include <gcj/cni.h>
14 #include <jvm.h>
15 #include <java/io/ObjectOutputStream$PutField.h>
16 #include <java/io/ObjectOutputStream.h>
17 #include <java/io/IOException.h>
18 #include <java/lang/Class.h>
21 java::lang::reflect::Field *
22 java::io::ObjectOutputStream::getField (jclass klass, jstring name)
24 return klass->getPrivateField (name);
27 java::lang::reflect::Method *
28 java::io::ObjectOutputStream::getMethod (jclass klass, jstring name,
29 JArray<jclass> *arg_types)
31 return klass->getPrivateMethod (name, arg_types);