/*============================================================================== Copyright (c) 2003-2005 UGS Corporation Unpublished - All Rights Reserved ==============================================================================*/ /* File Description: The header file that defines the export symbols for the BOM library */ #include #ifdef EXPORTLIBRARY #define EXPORTLIBRARY something else #error ExportLibrary was already defined #endif #define EXPORTLIBRARY libbom #if !defined(IPLIB) # error IPLIB is not defined #endif /* Handwritten code should use BOM_API, not BOMEXPORT */ #define BOM_API BOMEXPORT /* Support BOMEXPORT for autogenerated schema/pif code only */ #if IPLIB==libbom # if defined(__lint) # define BOMEXPORT __export(bom) # define BOMGLOBAL extern __global(bom) # define BOMPRIVATE extern __private(bom) # elif defined(_WIN32) # define BOMEXPORT __declspec(dllexport) # define BOMGLOBAL extern __declspec(dllexport) # define BOMPRIVATE extern # else # define BOMEXPORT # define BOMGLOBAL extern # define BOMPRIVATE extern # endif #else # if defined(__lint) # define BOMEXPORT __export(bom) # define BOMGLOBAL extern __global(bom) # elif defined(_WIN32) && !defined(WNT_STATIC_LINK) # define BOMEXPORT __declspec(dllimport) # define BOMGLOBAL extern __declspec(dllimport) # else # define BOMEXPORT # define BOMGLOBAL extern # endif #endif