home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
som30tk.zip
/
som30os2.zip
/
include
/
somtypes.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-12-24
|
1KB
|
55 lines
/*
* @(#) 1.9 src/somk/somtypes.h, somk.api, som3.0 9/4/96 13:45:16 [12/24/96 07:40:26]
*/
/*
* 96F8647, 96F8648, 96F8850 (C) Copyright IBM Corp. 1992, 1994
* All Rights Reserved
* Licensed Materials - Property of IBM
*/
/*
* SOMTYPES.H
* SOM types for C
* Multiple Inheritance Version
*/
#ifndef somtypes_h
#define somtypes_h
#include <stdarg.h>
/* SOM Base Types */
#include <sombtype.h>
/* Object Instance Structure */
struct somMethodTabStruct;
typedef struct SOMAny_struct {
struct somMethodTabStruct *mtab;
integer4 body[1];
} SOMAny;
/* SOM Primitive Classes */
#define SOMObject SOMAny
#define SOMClass SOMAny
#define SOMClassMgr SOMAny
#ifndef SOM_PUBLIC_HEADER
/*
* This section conditionally includes type definitions needed to compile
* the SOM kernel. It is removed from the public version of this file by
* the "pdl" command during "make install" for somk. The version used by
* earlier stages of the build (installed by "make stdhdrs" for somk) has
* no #define of SOM_INCLUDE_ITYPE so that somitype.h is not included.
*/
#ifdef SOM_INCLUDE_ITYPE
/* SOM Implementation Types */
#include <somitype.h>
#endif /* SOM_INCLUDE_ITYPE */
#else /* SOM_PUBLIC_HEADER */
#if (defined(__OS2__) || defined(_OS2) || defined(_WIN32)) && defined(__IBMC__) && (__IBMC__ >= 300)
#pragma library("somtk.lib")
#endif
#endif /* SOM_PUBLIC_HEADER */
#endif /* somtypes_h */