home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / jreheadf.zip / jniproto_md.h < prev    next >
Text File  |  2002-09-19  |  2KB  |  57 lines

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