BlinkID C SDK version 5.16.0
Export.h
Go to the documentation of this file.
1
14#ifndef EXPORT_H_INCLUDED
15#define EXPORT_H_INCLUDED
16
17#ifdef WIN32
18# ifdef BUILDING_STATIC_API
19# define MB_API
20# define MB_CALL
21# else
22# ifdef BUILDING_API
23# define MB_API __declspec( dllexport )
24# else
25# define MB_API __declspec( dllimport )
26# endif
27# define MB_CALL __stdcall
28# endif
29#else
30# ifdef BUILDING_API
31# define MB_API __attribute__(( __visibility__( "default" ) ))
32# else
33# define MB_API
34# endif
35# define MB_CALL
36#endif
37
38#if defined( WIN32 ) && !defined( __clang__ )
39# define MB_EXPORTED_TYPE MB_API
40#else
41# define MB_EXPORTED_TYPE
42#endif
43
44#endif