summaryrefslogtreecommitdiffstats
path: root/core/os/memory_pool_static.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/memory_pool_static.h')
-rw-r--r--core/os/memory_pool_static.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/os/memory_pool_static.h b/core/os/memory_pool_static.h
index 2e11b7ded4..f7f60b8df8 100644
--- a/core/os/memory_pool_static.h
+++ b/core/os/memory_pool_static.h
@@ -38,17 +38,17 @@
*/
class MemoryPoolStatic {
private:
-
+
static MemoryPoolStatic *singleton;
public:
-
+
static MemoryPoolStatic *get_singleton();
-
+
virtual void* alloc(size_t p_bytes,const char *p_description)=0; ///< Pointer in p_description shold be to a const char const like "hello"
virtual void* realloc(void * p_memory,size_t p_bytes)=0; ///< Pointer in p_description shold be to a const char const like "hello"
virtual void free(void *p_ptr)=0; ///< Pointer in p_description shold be to a const char const
-
+
virtual size_t get_available_mem() const=0;
virtual size_t get_total_usage()=0;
virtual size_t get_max_usage()=0;