00001 /*! 00002 * @file jrtypes.c 00003 * 00004 * @brief Java architecture types convenient for C/C++ source code. 00005 * 00006 * Full escriptions of all of the following variables 00007 * may be found in @link jvm/src/jrtypes.h jrtypes.h@endlink 00008 00009 * 00010 * @section Control 00011 * 00012 * \$URL: https://svn.apache.org/path/name/jrtypes.c $ \$Id: jrtypes.c 0 09/28/2005 dlydick $ 00013 * 00014 * Copyright 2005 The Apache Software Foundation 00015 * or its licensors, as applicable. 00016 * 00017 * Licensed under the Apache License, Version 2.0 ("the License"); 00018 * you may not use this file except in compliance with the License. 00019 * You may obtain a copy of the License at 00020 * 00021 * http://www.apache.org/licenses/LICENSE-2.0 00022 * 00023 * Unless required by applicable law or agreed to in writing, 00024 * software distributed under the License is distributed on an 00025 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00026 * either express or implied. 00027 * 00028 * See the License for the specific language governing permissions 00029 * and limitations under the License. 00030 * 00031 * @version \$LastChangedRevision: 0 $ 00032 * 00033 * @date \$LastChangedDate: 09/28/2005 $ 00034 * 00035 * @author \$LastChangedBy: dlydick $ 00036 * Original code contributed by Daniel Lydick on 09/28/2005. 00037 * 00038 * @section Reference 00039 * 00040 */ 00041 00042 #include "arch.h" 00043 ARCH_COPYRIGHT_APACHE(jrtypes, c, "$URL: https://svn.apache.org/path/name/jrtypes.c $ $Id: jrtypes.c 0 09/28/2005 dlydick $"); 00044 00045 00046 /*! 00047 * @brief Permit use of @c @b TRUE, @c @b FALSE, 00048 * @c @b NEITHER_TRUE_NOR_FALSE 00049 * with @link jvm/src/jvmcfg.h jvmcfg.h@endlink 00050 */ 00051 #define I_AM_JRTYPES_C 00052 00053 #include "jvmcfg.h" 00054 00055 const jvoid *jnull = ((jvoid *) NULL); 00056 00057 const jboolean jfalse = ((jboolean) JNI_FALSE); 00058 const jboolean jtrue = ((jboolean) JNI_TRUE); 00059 00060 00061 00062 00063 const void *rnull = NULL; 00064 00065 const rboolean rfalse = FALSE; 00066 const rboolean rtrue = TRUE; 00067 const rboolean rneither_true_nor_false = NEITHER_TRUE_NOR_FALSE; 00068 00069 00070 /* EOF */ 00071