www.pudn.com > jni_sms.zip > jni_md.h


/* 
 * @(#)jni_md.h	1.3 97/01/10 
 * 
 * Copyright (c) 1993-1996 Sun Microsystems, Inc. All Rights Reserved. 
 * 
 * Permission to use, copy, modify, and distribute this software 
 * and its documentation for NON-COMMERCIAL purposes and without 
 * fee is hereby granted provided that this copyright notice 
 * appears in all copies. 
 * 
 * The Java source code is the confidential and proprietary information 
 * of Sun Microsystems, Inc. ("Confidential Information").  You shall 
 * not disclose such Confidential Information and shall use it only in 
 * accordance with the terms of the license agreement you entered into 
 * with Sun. 
 * 
 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF 
 * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
 * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR 
 * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR 
 * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. 
 */ 
 
#define JNIEXPORT __declspec(dllexport) 
#define JNICALL __stdcall 
 
typedef long jint; 
typedef __int64 jlong; 
typedef signed char jbyte; 
 
//#include "typedefs_md.h"         removed by ibm.10740               /*ibm.6689*/ 
#if !defined(JTC_BUILD) 
/* Note that these definitions also appear in typedefs_md.h             ibm.10740 
** They are replicated to avoid forcing use of 'windows.h'              ibm.10740 
** onto users of this header                                            ibm.10740 
**                                                                      ibm.10740 
** Changes to the following macros must also be done in 'typedefs_md.h' ibm.10740 
*/ 
#ifndef JMS_TRL                                                      /* ibm.10740 */ 
#define JMS_TRL 1 
#endif                                                               /* ibm.10740 */ 
#ifndef JIT_TRL                                                      /* ibm.10740 */ 
#define JIT_TRL 1 
#endif                                                               /* ibm.10740 */ 
#ifndef JIT_WAY                                                      /* ibm.10740 */ 
#define JIT_WAY 1 
#endif                                                               /* ibm.10740 */ 
#ifndef IBM_MIXED_MODE                                               /* ibm.10740 */ 
#define IBM_MIXED_MODE 1       /* IBM 9037 */ 
#endif                                                               /* ibm.10740 */ 
#endif 
 
#include "float_md.h"                                                 /*ibm.10740 */ 
 
#if defined _OOBJ_H_ && !defined _PIN_HANDLE_H_                         /*ibm.5331*/ 
 
#ifdef __cplusplus 
extern "C" { 
#endif 
 
/* Temporary place for these functions -  gives us JHandle* */ 
#define _PIN_HANDLE_H_ 
#ifdef JMS_TRL 
/* Note: These functions are subject to change, and may be removed */ 
JHandle* pin_handle(JHandle *h); 
void     unpin_handle(JHandle *h); 
#else 
#define pin_handle(h)   (h) 
#define unpin_handle(h) ((void)0) 
#endif 
 
#ifdef __cplusplus 
} /* extern "C" */ 
#endif /* __cplusplus */ 
 
#endif                                                                  /*ibm.5331*/