Home | History | Annotate | Download | only in inc
      1 /*
      2  *  Copyright 2001-2008 Texas Instruments - http://www.ti.com/
      3  *
      4  *  Licensed under the Apache License, Version 2.0 (the "License");
      5  *  you may not use this file except in compliance with the License.
      6  *  You may obtain a copy of the License at
      7  *
      8  *     http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  *  Unless required by applicable law or agreed to in writing, software
     11  *  distributed under the License is distributed on an "AS IS" BASIS,
     12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  *  See the License for the specific language governing permissions and
     14  *  limitations under the License.
     15  */
     16 
     17 
     18 /*
     19  *  ======== dspapi.h ========
     20  *  DSP-BIOS Bridge driver support functions for TI OMAP processors.
     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