| 1 | /* | 
 
 
 
 
 | 2 | * gdiplusmem.h | 
 
 
 
 
 | 3 | * | 
 
 
 
 
 | 4 | * GDI+ memory allocation | 
 
 
 
 
 | 5 | * | 
 
 
 
 
 | 6 | * This file is part of the w32api package. | 
 
 
 
 
 | 7 | * | 
 
 
 
 
 | 8 | * Contributors: | 
 
 
 
 
 | 9 | *   Created by Markus Koenig <markus@stber-koenig.de> | 
 
 
 
 
 | 10 | * | 
 
 
 
 
 | 11 | * THIS SOFTWARE IS NOT COPYRIGHTED | 
 
 
 
 
 | 12 | * | 
 
 
 
 
 | 13 | * This source code is offered for use in the public domain. You may | 
 
 
 
 
 | 14 | * use, modify or distribute it freely. | 
 
 
 
 
 | 15 | * | 
 
 
 
 
 | 16 | * This code is distributed in the hope that it will be useful but | 
 
 
 
 
 | 17 | * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY | 
 
 
 
 
 | 18 | * DISCLAIMED. This includes but is not limited to warranties of | 
 
 
 
 
 | 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 
 
 
 
 
 | 20 | * | 
 
 
 
 
 | 21 | */ | 
 
 
 
 
 | 22 |  | 
 
 
 
 
 | 23 | #ifndef __GDIPLUS_MEM_H | 
 
 
 
 
 | 24 | #define __GDIPLUS_MEM_H | 
 
 
 
 
 | 25 | #if __GNUC__ >=3 | 
 
 
 
 
 | 26 | #pragma GCC system_header | 
 
 
 
 
 | 27 | #endif | 
 
 
 
 
 | 28 |  | 
 
 
 
 
 | 29 | #ifdef __cplusplus | 
 
 
 
 
 | 30 | namespace DllExports { | 
 
 
 
 
 | 31 | extern "C" { | 
 
 
 
 
 | 32 | #endif | 
 
 
 
 
 | 33 |  | 
 
 
 
 
 | 34 | VOID* WINGDIPAPI GdipAlloc(size_t); | 
 
 
 
 
 | 35 | VOID WINGDIPAPI GdipFree(VOID*); | 
 
 
 
 
 | 36 |  | 
 
 
 
 
 | 37 | #ifdef __cplusplus | 
 
 
 
 
 | 38 | }  /* extern "C" */ | 
 
 
 
 
 | 39 | }  /* namespace DllExports */ | 
 
 
 
 
 | 40 | #endif | 
 
 
 
 
 | 41 |  | 
 
 
 
 
 | 42 | #endif /* __GDIPLUS_MEM_H */ |