51 lines
1.4 KiB
C
51 lines
1.4 KiB
C
/*
|
|
* dspbridge/mpu_api/inc/dspapi.h
|
|
*
|
|
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
|
|
*
|
|
* Copyright (C) 2007 Texas Instruments, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU Lesser General Public License as published
|
|
* by the Free Software Foundation version 2.1 of the License.
|
|
*
|
|
* This program is distributed .as is. WITHOUT ANY WARRANTY of any kind,
|
|
* whether express or implied; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*/
|
|
|
|
|
|
/*
|
|
* ======== dspapi.h ========
|
|
* Purpose:
|
|
* Defines function type modifiers used in all DSPSYS public header
|
|
* files.
|
|
*
|
|
* Notes:
|
|
* Provides __stdcall (required by VB 4.0) and __declspec(dllimport)
|
|
* function modifiers for fast dyna-linking.
|
|
*
|
|
*! Revision History:
|
|
*! =================
|
|
*! 23-Dec-1997 cr: Added WBKERNEL_API definition.
|
|
*! 11-Oct-1996 gp: Created.
|
|
*/
|
|
|
|
#ifndef DSPAPI_
|
|
#define DSPAPI_
|
|
|
|
/* Define API decoration for direct importing of DLL references. */
|
|
#if !defined(_DSPSYSDLL32_)
|
|
#define DSPAPIDLL __declspec(dllimport)
|
|
#else
|
|
#define DSPAPIDLL
|
|
#endif
|
|
|
|
/* Full export modifier: */
|
|
#define DSPAPI DSPAPIDLL DSP_STATUS WINAPI
|
|
|
|
/* Explicitly define class driver calling conventions */
|
|
#define WBKERNEL_API CDECL
|
|
|
|
#endif /* DSPAPI_ */
|