configure: Rebuilt.
[gcc.git] / libjava / gcj / method.h
1 // java-method.h - Header file for methodID instances. -*- c++ -*-
2
3 /* Copyright (C) 1999 Cygnus Solutions
4
5 This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 details. */
10
11 #ifndef __GCJ_METHOD_H__
12 #define __GCJ_METHOD_H__
13
14 extern inline jmethodID
15 _Jv_FromReflectedMethod(java::lang::reflect::Method *method)
16 {
17 return (jmethodID)
18 ((char *) method->declaringClass->methods + method->offset);
19 }
20
21 #endif /* __GCJ_METHOD_H__ */