summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-03-02 23:49:35 +0100
committerMatthias Melcher <github@matthiasm.com>2024-03-02 23:49:35 +0100
commitf1c9b198bba52d19a840efc7a77a9752d711ee57 (patch)
tree90ec58fa6e6ab849ae86ac39215588698feaa972 /FL
parent4ccadff4b9120cba114da964fd0e79c762a6fd3d (diff)
Promote fl_strlcpy to <FL/fl_string_functions.h>
Diffstat (limited to 'FL')
-rw-r--r--FL/fl_string_functions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/fl_string_functions.h b/FL/fl_string_functions.h
index 16e7a5ada..b88dc4973 100644
--- a/FL/fl_string_functions.h
+++ b/FL/fl_string_functions.h
@@ -28,6 +28,8 @@
extern "C" {
#endif
+#include <stddef.h> // size_t
+
/** \defgroup fl_string String handling functions
String handling functions declared in <FL/fl_string_functions.h>
@{
@@ -35,6 +37,8 @@ extern "C" {
FL_EXPORT char* fl_strdup(const char *s);
+FL_EXPORT size_t fl_strlcpy(char *, const char *, size_t);
+
/** @} */
#ifdef __cplusplus