source: trunk/src/gcc/libjava/include/jvmpi.h@ 604

Last change on this file since 604 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: 6.7 KB
Line 
1/* Copyright (C) 2000 Free Software Foundation
2
3 This file is part of libgcj.
4
5This software is copyrighted work licensed under the terms of the
6Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7details. */
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. */