2010-03-23 19:49:49 +03:00
|
|
|
/*
|
|
|
|
* Copyright 2010 Haiku Inc. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef STRING_FOR_SIZE_H
|
|
|
|
#define STRING_FOR_SIZE_H
|
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
|
|
|
|
|
|
const char* string_for_size(double size, char* string, size_t stringSize);
|
2019-02-07 23:04:50 +03:00
|
|
|
int64 parse_size(const char* sizeString);
|
2010-03-23 19:49:49 +03:00
|
|
|
|
|
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
|
|
|
|
|
|
using BPrivate::string_for_size;
|
2019-02-07 23:04:50 +03:00
|
|
|
using BPrivate::parse_size;
|
2010-03-23 19:49:49 +03:00
|
|
|
|
|
|
|
|
2015-04-04 23:43:12 +03:00
|
|
|
#endif // STRING_FOR_SIZE_H
|