1 | /* |
2 | * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. |
3 | * |
4 | * NVIDIA CORPORATION and its licensors retain all intellectual property |
5 | * and proprietary rights in and to this software, related documentation |
6 | * and any modifications thereto. Any use, reproduction, disclosure or |
7 | * distribution of this software and related documentation without an express |
8 | * license agreement from NVIDIA CORPORATION is strictly prohibited. |
9 | */ |
10 | // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. |
11 | // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. |
12 | |
13 | |
14 | #ifndef PX_COOKING_NX |
15 | #define PX_COOKING_NX |
16 | |
17 | #include "foundation/Px.h" |
18 | |
19 | // define API function declaration |
20 | #if defined(PX_WINDOWS) || defined(PX_WINMODERN) |
21 | #if defined PX_PHYSX_COOKING_EXPORTS |
22 | #define PX_PHYSX_COOKING_API __declspec(dllexport) |
23 | #else |
24 | #define PX_PHYSX_COOKING_API __declspec(dllimport) |
25 | #endif |
26 | #elif defined(PX_UNIX) |
27 | #define PX_PHYSX_COOKING_API PX_UNIX_EXPORT |
28 | #endif |
29 | |
30 | #if !defined(PX_PHYSX_COOKING_API) |
31 | #define PX_PHYSX_COOKING_API |
32 | #endif |
33 | |
34 | #ifndef PX_C_EXPORT |
35 | #define PX_C_EXPORT extern "C" |
36 | #endif |
37 | |
38 | #endif |
39 | |