core/matlab/examples/shrlib/shrhelp.h

00001 /* Copyright 2003 The MathWorks, Inc. */
00002 
00003 /* shrhelp.h
00004  * Sharied libry helper include file for cross platform portablility
00005  * define EXPORT_FCNS before includeing this file in sorce files that build the library
00006  * no defines are needed to use the libary. */
00007 #ifndef SHRHELP
00008 #define SHRHELP
00009 
00010 #ifdef _WIN32
00011 #ifdef EXPORT_FCNS
00012 #define EXPORTED_FUNCTION __declspec(dllexport)
00013 #else
00014 #define EXPORTED_FUNCTION __declspec(dllimport)
00015 #endif
00016 #else
00017 #define EXPORTED_FUNCTION
00018 #endif
00019 
00020 #endif
00021 

GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy