| 1 | /// |
| 2 | /// Copyright (c) 2008 - 2009 Advanced Micro Devices, Inc. |
| 3 | |
| 4 | /// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, |
| 5 | /// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED |
| 6 | /// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. |
| 7 | |
| 8 | /// \file adl_sdk.h |
| 9 | /// \brief Contains the definition of the Memory Allocation Callback.\n <b>Included in ADL SDK</b> |
| 10 | /// |
| 11 | /// \n\n |
| 12 | /// This file contains the definition of the Memory Allocation Callback.\n |
| 13 | /// It also includes definitions of the respective structures and constants.\n |
| 14 | /// <b> This is the only header file to be included in a C/C++ project using ADL </b> |
| 15 | |
| 16 | #ifndef ADL_SDK_H_ |
| 17 | #define ADL_SDK_H_ |
| 18 | |
| 19 | #include "adl_structures.h" |
| 20 | |
| 21 | #if !defined(__WINDOWS__) |
| 22 | #define __stdcall |
| 23 | #endif /* (LINUX) */ |
| 24 | |
| 25 | /// Memory Allocation Call back |
| 26 | typedef void* ( __stdcall *ADL_MAIN_MALLOC_CALLBACK )( int ); |
| 27 | |
| 28 | |
| 29 | #endif /* ADL_SDK_H_ */ |