• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**************************************************************************\
2 *
3 * Copyright (c) 1998-2000, Microsoft Corp.  All Rights Reserved.
4 *
5 * Module Name:
6 *
7 *   GdiplusMem.h
8 *
9 * Abstract:
10 *
11 *   Flat GDI+ Memory Allocators - header file
12 *
13 \**************************************************************************/
14 
15 // TODO: this file style needs to be made internally consistent with the way
16 //       it handles breaking the long argument lists across multiple lines
17 
18 #ifndef _GDIPLUSMEM_H
19 #define _GDIPLUSMEM_H
20 
21 #define WINGDIPAPI __stdcall
22 
23 // currently, only C++ wrapper API's force const.
24 
25 #ifdef _GDIPLUS_H
26 #define GDIPCONST const
27 #else
28 #define GDIPCONST
29 #endif
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 //----------------------------------------------------------------------------
36 // Memory Allocation APIs
37 //----------------------------------------------------------------------------
38 
39 void* WINGDIPAPI
40 GdipAlloc(size_t size);
41 
42 void WINGDIPAPI
43 GdipFree(void* ptr);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif // !_GDIPLUSMEM_H
50