summaryrefslogtreecommitdiff
path: root/FL/Fl_String.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-06 10:34:47 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-02-06 10:34:47 +0100
commita56c48079e8d691611c62c92f2cf49b3fb6345d2 (patch)
tree94b6c7f4a8dd61dda386c8ee076c3a088df99f17 /FL/Fl_String.H
parent7f4a14e376da04b57a77167db11605abe2520e15 (diff)
Fix "\todo Complete documentation of class Fl_String"
Also - fix "\todo Unicode?" in Fl_Text_Display::display_insert() after verification - fix "\todo [Internal] The user_data value must be implemented using \p fl_intptr_t" because that's now in place.
Diffstat (limited to 'FL/Fl_String.H')
-rw-r--r--FL/Fl_String.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/FL/Fl_String.H b/FL/Fl_String.H
index 4a20c48b2..72e90f52d 100644
--- a/FL/Fl_String.H
+++ b/FL/Fl_String.H
@@ -63,8 +63,6 @@
\endcode
\since 1.4.0
-
- \todo Complete documentation of class Fl_String
*/
class Fl_String {
@@ -96,10 +94,12 @@ private:
public:
void value(const char *str);
- void value(const char *str, int slen);
-
+ void value(const char *str, int len);
+ /** Returns a pointer to the first character stored in the object */
const char *value() const { return value_; }
+ /** Returns a pointer to the first byte stored in the object */
char *buffer() { return value_; }
+ /** Returns the number of bytes currently stored in the object */
int size() const { return size_; }
int slen() const;