vfs: check userland buffers before reading them.
[haiku.git] / headers / private / interface / truncate_string.h
blob36481ae9643799c9eb500bd9e1ba62fda3679590
1 /*
2 * Copyright 2010, Michael Lotz <mmlr@mlotz.ch>. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef TRUNCATE_STRING_H
6 #define TRUNCATE_STRING_H
8 #include <SupportDefs.h>
10 void truncate_string(BString& string, uint32 mode, float width,
11 const float* escapementArray, float fontSize, float ellipsisWidth,
12 int32 numChars);
14 #endif // TRUNCATE_STRING_H