fix pst_alloc_init.. names and stub for pst_alloc_init_cutom()

This commit is contained in:
2020-01-28 20:17:47 +04:00
parent 701976beb0
commit 340abfc31c
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -46,9 +46,10 @@ void pst_alloc_init(pst_allocator& alloc)
return; return;
} }
void pst_allocator_init_custom(pst_allocator& alloc, void* buff, uint32_t size) void pst_alloc_init_custom(pst_allocator& alloc, void* buff, uint32_t size)
{ {
// TBD to implement custom allocator // TBD to implement custom allocator
pst_alloc_init(alloc);
return; return;
} }
+1 -1
View File
@@ -34,7 +34,7 @@ typedef struct __pst_allocator {
} pst_allocator; } pst_allocator;
void pst_alloc_init(pst_allocator& alloc); void pst_alloc_init(pst_allocator& alloc);
void pst_allocator_init_custom(pst_allocator& alloc, void* buff, uint32_t size); void pst_alloc_init_custom(pst_allocator& alloc, void* buff, uint32_t size);
void pst_alloc_fini(pst_allocator& alloc); void pst_alloc_fini(pst_allocator& alloc);
#endif /* FRAMEWORK_ALLOCATOR_H_ */ #endif /* FRAMEWORK_ALLOCATOR_H_ */