6 * This file is part of the w32api package.
\r
9 * Created by Markus Koenig <markus@stber-koenig.de>
\r
11 * THIS SOFTWARE IS NOT COPYRIGHTED
\r
13 * This source code is offered for use in the public domain. You may
\r
14 * use, modify or distribute it freely.
\r
16 * This code is distributed in the hope that it will be useful but
\r
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
\r
18 * DISCLAIMED. This includes but is not limited to warranties of
\r
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
\r
23 #ifndef __GDIPLUS_BASE_H
\r
24 #define __GDIPLUS_BASE_H
\r
26 #pragma GCC system_header
\r
30 #error "A C++ compiler is required to include gdiplusbase.h."
\r
36 static void* operator new(size_t in_size)
\r
38 return DllExports::GdipAlloc(in_size);
\r
40 static void* operator new[](size_t in_size)
\r
42 return DllExports::GdipAlloc(in_size);
\r
44 static void operator delete(void *in_pVoid)
\r
46 DllExports::GdipFree(in_pVoid);
\r
48 static void operator delete[](void *in_pVoid)
\r
50 DllExports::GdipFree(in_pVoid);
\r
54 #endif /* __GDIPLUS_BASE_H */
\r