xref: /haiku/headers/private/shared/StringForSize.h (revision 1a76488fc88584bf66b9751d7fb9b6527ac20d87)
1 /*
2  * Copyright 2010 Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef STRING_FOR_SIZE_H
6 #define STRING_FOR_SIZE_H
7 
8 #include <SupportDefs.h>
9 
10 
11 namespace BPrivate {
12 
13 
14 const char* string_for_size(double size, char* string, size_t stringSize);
15 int64 parse_size(const char* sizeString);
16 
17 
18 }	// namespace BPrivate
19 
20 
21 using BPrivate::string_for_size;
22 using BPrivate::parse_size;
23 
24 
25 #endif // STRING_FOR_SIZE_H
26