Go to the documentation of this file. 37 # define EXTERN_C extern "C" 42 #ifdef BUILDING_AVSCORE 43 # if defined(GCC) && defined(X86_32) 45 # else // MSVC builds and 64-bit GCC 46 # ifndef AVSC_USE_STDCALL 47 # define AVSC_CC __cdecl 49 # define AVSC_CC __stdcall 52 #else // needed for programs that talk to AviSynth+ 53 # ifndef AVSC_WIN32_GCC32 // see comment below 54 # ifndef AVSC_USE_STDCALL 55 # define AVSC_CC __cdecl 57 # define AVSC_CC __stdcall 80 #define AVSC_INLINE static __inline 82 #ifdef BUILDING_AVSCORE 83 # define AVSC_EXPORT __declspec(dllexport) 84 # define AVSC_API(ret, name) EXTERN_C AVSC_EXPORT ret AVSC_CC name 86 # define AVSC_EXPORT EXTERN_C __declspec(dllexport) 87 # ifndef AVSC_NO_DECLSPEC 88 # define AVSC_API(ret, name) EXTERN_C __declspec(dllimport) ret AVSC_CC name 90 # define AVSC_API(ret, name) typedef ret (AVSC_CC *name##_func)