| Index: src/conversions.h
|
| ===================================================================
|
| --- src/conversions.h (revision 3813)
|
| +++ src/conversions.h (working copy)
|
| @@ -102,9 +102,10 @@
|
| // 100 characters is enough.
|
| const char* DoubleToCString(double value, Vector<char> buffer);
|
|
|
| -// Convert an int to a null-terminated string. The returned string is
|
| -// located inside the buffer, but not necessarily at the start.
|
| -const char* IntToCString(int n, Vector<char> buffer);
|
| +// Convert an int to a null-terminated string. The returned string need
|
| +// not be freed by the caller, but may be overwritten by a later call to
|
| +// IntToCString.
|
| +const char* IntToCString(int n, int* length_return);
|
|
|
| // Additional number to string conversions for the number type.
|
| // The caller is responsible for calling free on the returned pointer.
|
|
|