1 /* 2 * dspbridge/mpu_api/inc/dspapi.h 3 * 4 * DSP-BIOS Bridge driver support functions for TI OMAP processors. 5 * 6 * Copyright (C) 2007 Texas Instruments, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU Lesser General Public License as published 10 * by the Free Software Foundation version 2.1 of the License. 11 * 12 * This program is distributed .as is. WITHOUT ANY WARRANTY of any kind, 13 * whether express or implied; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 */ 17 18 19 /* 20 * ======== dspapi.h ======== 21 * Purpose: 22 * Defines function type modifiers used in all DSPSYS public header 23 * files. 24 * 25 * Notes: 26 * Provides __stdcall (required by VB 4.0) and __declspec(dllimport) 27 * function modifiers for fast dyna-linking. 28 * 29 *! Revision History: 30 *! ================= 31 *! 23-Dec-1997 cr: Added WBKERNEL_API definition. 32 *! 11-Oct-1996 gp: Created. 33 */ 34 35 #ifndef DSPAPI_ 36 #define DSPAPI_ 37 38 /* Define API decoration for direct importing of DLL references. */ 39 #if !defined(_DSPSYSDLL32_) 40 #define DSPAPIDLL __declspec(dllimport) 41 #else 42 #define DSPAPIDLL 43 #endif 44 45 /* Full export modifier: */ 46 #define DSPAPI DSPAPIDLL DSP_STATUS WINAPI 47 48 /* Explicitly define class driver calling conventions */ 49 #define WBKERNEL_API CDECL 50 51 #endif /* DSPAPI_ */ 52