mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-10 00:06:28 +00:00
Update documentation (2016-08-12)
This commit is contained in:
@@ -15,12 +15,17 @@ namespace Common {
|
||||
|
||||
class Pool {
|
||||
public:
|
||||
/**
|
||||
* @param object_size Byte-size of objects to construct
|
||||
* @param initial_pool_size Number of objects to have per slab
|
||||
*/
|
||||
Pool(size_t object_size, size_t initial_pool_size);
|
||||
~Pool();
|
||||
|
||||
Pool(Pool&) = delete;
|
||||
Pool(Pool&&) = delete;
|
||||
|
||||
/// Returns a pointer to an `object_size`-bytes block of memory.
|
||||
void* Alloc();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user