diff options
author | Maria Matejka <mq@ucw.cz> | 2021-03-30 16:03:33 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2021-03-30 21:56:08 +0200 |
commit | a9938b179203a4d5c54eae6c814bfa8766f4fde0 (patch) | |
tree | da8e01b5e1c5c2c2f5f0676a28c18f51f24def26 /lib/resource.h | |
parent | 4635314cefd55aaa2a0146b6722df55e7efba4b8 (diff) |
Resources: added mb_move() to complement rmove() for memory blocks
Diffstat (limited to 'lib/resource.h')
-rw-r--r-- | lib/resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/resource.h b/lib/resource.h index 48e62985..e65455c8 100644 --- a/lib/resource.h +++ b/lib/resource.h @@ -53,6 +53,7 @@ extern pool root_pool; void *mb_alloc(pool *, unsigned size); void *mb_allocz(pool *, unsigned size); void *mb_realloc(void *m, unsigned size); +void mb_move(void *, pool *); void mb_free(void *); /* Memory pools with linear allocation */ |