12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef _GDIPLUSBASE_H
- #define _GDIPLUSBASE_H
- class GdiplusBase
- {
- public:
- void (operator delete)(void* in_pVoid)
- {
- DllExports::GdipFree(in_pVoid);
- }
- void* (operator new)(size_t in_size)
- {
- return DllExports::GdipAlloc(in_size);
- }
- void (operator delete[])(void* in_pVoid)
- {
- DllExports::GdipFree(in_pVoid);
- }
- void* (operator new[])(size_t in_size)
- {
- return DllExports::GdipAlloc(in_size);
- }
- };
- #endif
|