1 /* $Revision: 6810 $ on $Date:: 2008-10-29 10:31:37 -0400 #$ */
3 /*------------------------------------------------------------------------
5 * VG platform specific header Reference Implementation
6 * ----------------------------------------------------
8 * Copyright (c) 2008 The Khronos Group Inc.
10 * Permission is hereby granted, free of charge, to any person obtaining a
11 * copy of this software and /or associated documentation files
12 * (the "Materials "), to deal in the Materials without restriction,
13 * including without limitation the rights to use, copy, modify, merge,
14 * publish, distribute, sublicense, and/or sell copies of the Materials,
15 * and to permit persons to whom the Materials are furnished to do so,
16 * subject to the following conditions:
18 * The above copyright notice and this permission notice shall be included
19 * in all copies or substantial portions of the Materials.
21 * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
24 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
25 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
26 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR
27 * THE USE OR OTHER DEALINGS IN THE MATERIALS.
31 * \brief VG platform specific header
32 *//*-------------------------------------------------------------------*/
42 #if defined(OPENVG_STATIC_LIBRARY)
45 # if defined(_WIN32) || defined(__VC32__) /* Win32 */
46 # if defined (OPENVG_DLL_EXPORTS)
47 # define VG_API_CALL __declspec(dllexport)
49 # define VG_API_CALL __declspec(dllimport)
52 # define VG_API_CALL extern
53 # endif /* defined(_WIN32) ||... */
54 #endif /* defined OPENVG_STATIC_LIBRARY */
55 #endif /* ifndef VG_API_CALL */
58 #if defined(OPENVG_STATIC_LIBRARY)
61 # if defined(_WIN32) || defined(__VC32__) /* Win32 */
62 # if defined (OPENVG_DLL_EXPORTS)
63 # define VGU_API_CALL __declspec(dllexport)
65 # define VGU_API_CALL __declspec(dllimport)
68 # define VGU_API_CALL extern
69 # endif /* defined(_WIN32) ||... */
70 #endif /* defined OPENVG_STATIC_LIBRARY */
71 #endif /* ifndef VGU_API_CALL */
90 typedef float VGfloat
;
91 typedef signed char VGbyte
;
92 typedef unsigned char VGubyte
;
93 typedef signed short VGshort
;
94 typedef signed int VGint
;
95 typedef unsigned int VGuint
;
96 typedef unsigned int VGbitfield
;
98 #ifndef VG_VGEXT_PROTOTYPES
99 #define VG_VGEXT_PROTOTYPES
106 #endif /* _VGPLATFORM_H */