/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* gos720 src/gos/2d/XTOP/include/shrmem.h 1.3 */ /* */ /* Licensed Materials - Property of IBM */ /* */ /* COPYRIGHT International Business Machines Corp. 1989,1990 */ /* All Rights Reserved */ /* */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /* */ /* IBM_PROLOG_END_TAG */ /* @(#)70 1.3 src/gos/2d/XTOP/include/shrmem.h, shrmem_mgr, gos720 5/14/96 15:02:06 */ /* * COMPONENT_NAME: X11 * * FUNCTIONS: none * * ORIGINS: 27 * * (C) COPYRIGHT International Business Machines Corp. 1989, 1990 * All Rights Reserved * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ #ifndef SHRMEM_H #define SHRMEM_H #define shmOffsetToPointer(base,offset) \ ((unsigned int)(offset)+(char*)(base)) #define shmPointerToOffset(base,pointer) \ ((char*)(pointer)-(unsigned int)(base)) #endif /* SHRMEM_H */