home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / main.bin / signature.h < prev    next >
C/C++ Source or Header  |  1997-11-24  |  2KB  |  67 lines

  1. /*
  2.  * @(#)signature.h    1.10 96/11/23
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22.  
  23. /*
  24.  * The keyletters used in type signatures
  25.  */
  26.  
  27. #ifndef _SIGNATURE_H_
  28. #define _SIGNATURE_H_
  29.  
  30. #define SIGNATURE_ANY        'A'
  31. #define SIGNATURE_ARRAY        '['
  32. #define SIGNATURE_BYTE        'B'
  33. #define SIGNATURE_CHAR        'C'
  34. #define SIGNATURE_CLASS        'L'
  35. #define SIGNATURE_ENDCLASS    ';'
  36. #define SIGNATURE_ENUM        'E'
  37. #define SIGNATURE_FLOAT        'F'
  38. #define SIGNATURE_DOUBLE        'D'
  39. #define SIGNATURE_FUNC        '('
  40. #define SIGNATURE_ENDFUNC    ')'
  41. #define SIGNATURE_INT        'I'
  42. #define SIGNATURE_LONG        'J'
  43. #define SIGNATURE_SHORT        'S'
  44. #define SIGNATURE_VOID        'V'
  45. #define SIGNATURE_BOOLEAN    'Z'
  46.  
  47. #define SIGNATURE_ANY_STRING        "A"
  48. #define SIGNATURE_ARRAY_STRING        "["
  49. #define SIGNATURE_BYTE_STRING        "B"
  50. #define SIGNATURE_CHAR_STRING        "C"
  51. #define SIGNATURE_CLASS_STRING        "L"
  52. #define SIGNATURE_ENDCLASS_STRING    ";"
  53. #define SIGNATURE_ENUM_STRING        "E"
  54. #define SIGNATURE_FLOAT_STRING        "F"
  55. #define SIGNATURE_DOUBLE_STRING           "D"
  56. #define SIGNATURE_FUNC_STRING        "("
  57. #define SIGNATURE_ENDFUNC_STRING    ")"
  58. #define SIGNATURE_INT_STRING        "I"
  59. #define SIGNATURE_LONG_STRING        "J"
  60. #define SIGNATURE_SHORT_STRING        "S"
  61. #define SIGNATURE_VOID_STRING        "V"
  62. #define SIGNATURE_BOOLEAN_STRING    "Z"
  63.  
  64.  
  65.  
  66. #endif /* !_SIGNATURE_H_ */
  67.