You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.8 KiB
58 lines
1.8 KiB
/*==============================================================================
|
|
Copyright (c) 2003-2005 UGS Corporation
|
|
Unpublished - All Rights Reserved
|
|
==============================================================================*/
|
|
|
|
/*
|
|
File Description:
|
|
|
|
The header file that defines the export symbols for the USER_EXITS library
|
|
*/
|
|
|
|
#include <common/library_indicators.h>
|
|
|
|
#ifdef EXPORTLIBRARY
|
|
#define EXPORTLIBRARY something else
|
|
#error ExportLibrary was already defined
|
|
#endif
|
|
|
|
#define EXPORTLIBRARY libuser_exits
|
|
|
|
#if !defined(IPLIB)
|
|
# error IPLIB is not defined
|
|
#endif
|
|
|
|
/* Handwritten iMAN code should use the XXX_API version, not XXXEXPORT */
|
|
|
|
#define USER_EXITS_API USER_EXITSEXPORT
|
|
|
|
/* Support USER_EXITSEXPORT for autogenerated schema/pif code only */
|
|
|
|
#if IPLIB==libuser_exits
|
|
# if defined(__lint)
|
|
# define USER_EXITSEXPORT __export(user_exits)
|
|
# define USER_EXITSGLOBAL extern __global(user_exits)
|
|
# define USER_EXITSPRIVATE extern __private(user_exits)
|
|
# elif defined(_WIN32)
|
|
# define USER_EXITSEXPORT __declspec(dllexport)
|
|
# define USER_EXITSGLOBAL extern __declspec(dllexport)
|
|
# define USER_EXITSPRIVATE extern
|
|
# else
|
|
# define USER_EXITSEXPORT
|
|
# define USER_EXITSGLOBAL extern
|
|
# define USER_EXITSPRIVATE extern
|
|
# endif
|
|
#else
|
|
# if defined(__lint)
|
|
# define USER_EXITSEXPORT __export(user_exits)
|
|
# define USER_EXITSGLOBAL extern __global(user_exits)
|
|
# elif defined(_WIN32) && !defined(WNT_STATIC_LINK)
|
|
# define USER_EXITSEXPORT __declspec(dllimport)
|
|
# define USER_EXITSGLOBAL extern __declspec(dllimport)
|
|
# else
|
|
# define USER_EXITSEXPORT
|
|
# define USER_EXITSGLOBAL extern
|
|
# endif
|
|
#endif
|
|
|