00001 #ifndef _native_h_included_ 00002 #define _native_h_included_ 00003 00004 /*! 00005 * @file native.h 00006 * 00007 * @brief Local native method interface between JNI and JVM. 00008 * 00009 * Native methods that are implemented @e within the JVM may circumvent 00010 * the full-blown JNI interface by calling these functions. 00011 * 00012 * 00013 * @section Control 00014 * 00015 * \$URL: https://svn.apache.org/path/name/native.h $ \$Id: native.h 0 09/28/2005 dlydick $ 00016 * 00017 * Copyright 2005 The Apache Software Foundation 00018 * or its licensors, as applicable. 00019 * 00020 * Licensed under the Apache License, Version 2.0 ("the License"); 00021 * you may not use this file except in compliance with the License. 00022 * You may obtain a copy of the License at 00023 * 00024 * http://www.apache.org/licenses/LICENSE-2.0 00025 * 00026 * Unless required by applicable law or agreed to in writing, 00027 * software distributed under the License is distributed on an 00028 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00029 * either express or implied. 00030 * 00031 * See the License for the specific language governing permissions 00032 * and limitations under the License. 00033 * 00034 * @version \$LastChangedRevision: 0 $ 00035 * 00036 * @date \$LastChangedDate: 09/28/2005 $ 00037 * 00038 * @author \$LastChangedBy: dlydick $ 00039 * Original code contributed by Daniel Lydick on 09/28/2005. 00040 * 00041 * @section Reference 00042 * 00043 */ 00044 00045 ARCH_COPYRIGHT_APACHE(native, h, "$URL: https://svn.apache.org/path/name/native.h $ $Id: native.h 0 09/28/2005 dlydick $"); 00046 00047 /* Prototypes for functions in 'native.c' */ 00048 00049 extern rvoid native_run_method(jvm_thread_index thridx, 00050 jvm_native_method_ordinal nmord, 00051 jvm_class_index clsidx, 00052 jvm_constant_pool_index mthnameidx, 00053 jvm_constant_pool_index mthdescidx); 00054 00055 extern jvm_native_method_ordinal native_locate_local_method( 00056 ClassFile *pcfs, 00057 jvm_constant_pool_index clsnameidx, 00058 jvm_constant_pool_index mthnameidx, 00059 jvm_constant_pool_index mthdescidx, 00060 rboolean find_registerNatives); 00061 00062 #endif /* _native_h_included_ */ 00063 00064 /* EOF */ 00065