mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-04 05:34:42 +01:00
Update documentation (2016-08-12)
This commit is contained in:
parent
3808938c98
commit
1029fd27ce
17 changed files with 205 additions and 138 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue