mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
add more const declarations (pr #79)
This commit is contained in:
parent
7f0137a617
commit
56bdb2c2f3
4 changed files with 9 additions and 9 deletions
|
@ -27,11 +27,11 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#endif
|
||||
|
||||
|
||||
size_t mi_malloc_size(void* p) mi_attr_noexcept {
|
||||
size_t mi_malloc_size(const void* p) mi_attr_noexcept {
|
||||
return mi_usable_size(p);
|
||||
}
|
||||
|
||||
size_t mi_malloc_usable_size(void *p) mi_attr_noexcept {
|
||||
size_t mi_malloc_usable_size(const void *p) mi_attr_noexcept {
|
||||
return mi_usable_size(p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue