mirror of
https://github.com/fltk/fltk.git
synced 2026-05-29 04:26:27 +08:00
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.
This commit is contained in:
+4
-4
@@ -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;
|
||||
|
||||
@@ -686,9 +686,6 @@ public:
|
||||
using only \p long values. You may want to use user_data() instead.
|
||||
|
||||
\see user_data()
|
||||
|
||||
\todo [Internal] The user_data value must be implemented using
|
||||
\p fl_intptr_t or similar to avoid 64-bit platform incompatibilities.
|
||||
*/
|
||||
long argument() const {return (long)(fl_intptr_t)user_data_;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user