| 1 | /* Copyright (C) 2000 Free Software Foundation
|
|---|
| 2 |
|
|---|
| 3 | This file is part of libgcj.
|
|---|
| 4 |
|
|---|
| 5 | This software is copyrighted work licensed under the terms of the
|
|---|
| 6 | Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|---|
| 7 | details. */
|
|---|
| 8 |
|
|---|
| 9 | /* Note: this file must be compilable by the C compiler (for now,
|
|---|
| 10 | assuming GNU C is ok). This means you must never use `//'
|
|---|
| 11 | comments, and all C++-specific code must be conditional on
|
|---|
| 12 | __cplusplus. */
|
|---|
| 13 |
|
|---|
| 14 | #ifndef __GCJ_JVMPI_H__
|
|---|
| 15 | #define __GCJ_JVMPI_H__
|
|---|
| 16 |
|
|---|
| 17 | #include <jni.h>
|
|---|
| 18 |
|
|---|
| 19 | /* JVMPI version numbers. FIXME: this is a semi-random number. The
|
|---|
| 20 | documentation doesn't say what it should be. */
|
|---|
| 21 | #define JVMPI_VERSION_1 0x00020001
|
|---|
| 22 |
|
|---|
| 23 | /* JVMPI return codes. FIXME: These are semi-random numbers. The
|
|---|
| 24 | documentation doesn't say what they should be. */
|
|---|
| 25 | #define JVMPI_SUCCESS 0
|
|---|
| 26 | #define JVMPI_FAIL 1
|
|---|
| 27 | #define JVMPI_NOT_AVAILABLE 2
|
|---|
| 28 |
|
|---|
| 29 | /* An opaque pointer representing an object ID. */
|
|---|
|
|---|