aboutsummaryrefslogtreecommitdiff
path: root/libjava/include/java-method.h
blob: 1bda4719c2b7a64c3aa87ae7905e29e10ef8f3db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// java-method.h - Header file for methodID instances.  -*- c++ -*-

/* Copyright (C) 1999  Cygnus Solutions

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */

extern inline jmethodID
_Jv_FromReflectedMethod(java::lang::reflect::Method *method)
{
  return (jmethodID)
    ((char *) method->declaringClass->methods + method->offset);
}