fix pst_alloc_init.. names and stub for pst_alloc_init_cutom()
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user