home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Java / Java.zip / jaseh131.zip / jniproto_md.h < prev    next >
C/C++ Source or Header  |  2002-08-31  |  2KB  |  58 lines

  1. /*
  2.  * @(#)src/contract/jvm/pfm/jniproto_md.h, core, xn2131, 20020831 1.5.1.2
  3.  * ===========================================================================
  4.  * IBM Confidential
  5.  * OCO Source Materials
  6.  *
  7.  * IBM Java(tm)2 SDK, Standard Edition, v 1.3.1
  8.  * (C) Copyright IBM Corp. 1998, 2001.
  9.  * The source code for this program is not published or otherwise divested of
  10.  * its trade secrets, irrespective of what has been deposited with the U.S.
  11.  * Copyright office.
  12.  * ===========================================================================
  13.  */
  14.  
  15. /* 
  16.  *
  17.  * ===========================================================================
  18.  *
  19.  * ===========================================================================
  20.  * Change activity:
  21.  *
  22.  * Reason  Date   Origin  Description
  23.  * ------  ----   ------  ----------------------------------------------------
  24.  * 009653  080800 hdngmr  Added XJNICALL definition.
  25.  * 41143.1 260202 hdpsm   Define XJNICALL
  26.  *
  27.  * ===========================================================================
  28.  */
  29.  
  30. /* 
  31.  * Define JNI prototype macros. This module was created for 
  32.  * defect 91 because of the difficulties getting VisualAge to
  33.  * accept JNIEXPORT in prototypes on Windows NT.
  34.  * This module is simpler for Visual C++ since JNIEXPORT can
  35.  * be the same for prototypes and definitions.
  36.  *
  37.  */
  38.  
  39. /*
  40.  * For MS VC++ the value of JNIEXPORT need not change
  41.  */
  42. #ifndef JNIEXPORT
  43. #define JNIEXPORT __declspec(dllexport)
  44. #define JNIEXPORT_PROTOTYPE JNIEXPORT
  45. #endif
  46.  
  47. #ifndef JNIIMPORT
  48. #define JNIIMPORT __declspec(dllimport)
  49. #endif
  50.  
  51. #ifndef JNICALL
  52. #define JNICALL __stdcall
  53. #endif
  54.  
  55. #define XJNICALL __cdecl                                    /*ibm@9653*/ /*ibm@41143.1*/
  56.  
  57. /* END OF FILE jniproto_md.h */
  58.