2013-08-09 08:01:20 +08:00
|
|
|
// Aseprite Base Library
|
2015-03-05 08:35:11 +08:00
|
|
|
// Copyright (c) 2001-2013, 2015 David Capello
|
2012-01-06 06:45:03 +08:00
|
|
|
//
|
2014-03-30 07:08:05 +08:00
|
|
|
// This file is released under the terms of the MIT license.
|
|
|
|
// Read LICENSE.txt for more information.
|
2012-01-06 06:45:03 +08:00
|
|
|
|
|
|
|
#ifndef BASE_MEM_UTILS_H_INCLUDED
|
|
|
|
#define BASE_MEM_UTILS_H_INCLUDED
|
2014-03-30 06:40:17 +08:00
|
|
|
#pragma once
|
2012-01-06 06:45:03 +08:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2013-08-06 08:20:19 +08:00
|
|
|
namespace base {
|
|
|
|
|
2015-03-05 08:35:11 +08:00
|
|
|
std::string get_pretty_memory_size(std::size_t memsize);
|
2013-08-06 08:20:19 +08:00
|
|
|
|
|
|
|
} // namespace base
|
2012-01-06 06:45:03 +08:00
|
|
|
|
|
|
|
#endif
|