|
Last change
on this file since 2 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
874 bytes
|
| Line | |
|---|
| 1 | // natObjectOutputStream.cc - Native part of ObjectOutputStream class.
|
|---|
| 2 |
|
|---|
| 3 | /* Copyright (C) 1998, 1999 Free Software Foundation
|
|---|
| 4 |
|
|---|
| 5 | This ObjectOutputStream is part of libgcj.
|
|---|
| 6 |
|
|---|
| 7 | This software is copyrighted work licensed under the terms of the
|
|---|
| 8 | Libgcj License. Please consult the ObjectOutputStream "LIBGCJ_LICENSE" for
|
|---|
| 9 | details. */
|
|---|
| 10 |
|
|---|
| 11 | #include <config.h>
|
|---|
| 12 |
|
|---|
| 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>
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 | java::lang::reflect::Field *
|
|---|
| 22 | java::io::ObjectOutputStream::getField (jclass klass, jstring name)
|
|---|
| 23 | {
|
|---|
| 24 | return klass->getPrivateField (name);
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | java::lang::reflect::Method *
|
|---|
| 28 | java::io::ObjectOutputStream::getMethod (jclass klass, jstring name,
|
|---|
| 29 | JArray<jclass> *arg_types)
|
|---|
| 30 | {
|
|---|
| 31 | return klass->getPrivateMethod (name, arg_types);
|
|---|
| 32 | }
|
|---|
| 33 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.