HeapZone.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
10 
11 #if !defined (DGN_PLATFORM_MT)
12 
14 
15 #endif
16 
17 
18 /*=================================================================================**/
22 struct HeapZone
23 {
24 private:
25  virtual void MakeClassAbstract() = 0;
26 public:
27 public:
28  RMGRSUBS_EXPORT void* AllocMem (size_t size);
29  RMGRSUBS_EXPORT void* ReallocMem (void* ptr, size_t newBytes, size_t oldBytes);
30  RMGRSUBS_EXPORT void FreeMem (void* ptr, size_t size);
31 };
32 
defined (DGN_PLATFORM_MT)
Definition: HeapZone.h:22
#define RMGRSUBS_EXPORT
Definition: DgnPlatform/ExportMacros.h:70
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
struct Bentley::HeapZone * HeapZoneP
Definition: ElementRefBase.h:14
HeapZoneP toolSubsystem_getSmallBlockHeapZone()
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
size_type size() const
Definition: stdcxx/bstdmap.h:214

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.