home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somtypes.h < prev    next >
C/C++ Source or Header  |  1999-02-22  |  1KB  |  55 lines

  1. /*
  2.  *   COMPONENT_NAME: somk
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996 
  8.  *   All Rights Reserved
  9.  *   Licensed Materials - Property of IBM
  10.  *   US Government Users Restricted Rights - Use, duplication or
  11.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12.  */
  13. /* @(#) somk/somtypes.h 2.6.2.3 12/26/95 16:51:47 [7/30/96 14:46:45] */
  14.  
  15. /*
  16.  */
  17.  
  18. /*
  19.  *    SOMTYPES.H
  20.  *    SOM types for C
  21.  *    Multiple Inheritance Version
  22.  */
  23. #ifndef somtypes_h
  24. #define somtypes_h
  25.  
  26. #include <stdarg.h>
  27.  
  28. /* SOM Base Types */
  29. #include <sombtype.h>
  30.  
  31. /*  -- Object Instance Structure */
  32. struct somMethodTabStruct;
  33. typedef struct SOMAny_struct {
  34.     struct somMethodTabStruct  *mtab;
  35.     integer4 body[1];
  36. } SOMAny;
  37.  
  38.  
  39. /* SOM Primitive Classes */
  40. /* primitive classes */
  41. #define SOMObject SOMAny
  42. #define SOMClass SOMAny
  43. #define SOMClassMgr SOMAny
  44.  
  45.  
  46. /* SOM Implementation Types */
  47. #ifdef SOM_INCLUDE_PRIVATE_ITYPES
  48. #include <private/somitype.h>
  49. #else
  50. #include <somitype.h>
  51. #endif
  52.  
  53.  
  54. #endif  /* somtypes_h */
  55.