summaryrefslogtreecommitdiff
path: root/src/core/wee-string.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-03 20:50:58 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:13:18 +0100
commit347c3f321466af6a7e057701693e6547b7d47d95 (patch)
tree2c705c5b038638d96690703c14c01d02ea55f576 /src/core/wee-string.h
parentdb8d2d43f0d89538169ce9c9481a97c12ef4411e (diff)
downloadweechat-347c3f321466af6a7e057701693e6547b7d47d95.zip
core: move function hook_get_priority_and_name to wee-string.c (issue #1872)
Diffstat (limited to 'src/core/wee-string.h')
-rw-r--r--src/core/wee-string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/wee-string.h b/src/core/wee-string.h
index adeb41c6a..785e41bac 100644
--- a/src/core/wee-string.h
+++ b/src/core/wee-string.h
@@ -141,6 +141,10 @@ extern char *string_replace_with_callback (const char *string,
char *(*callback)(void *data, const char *text),
void *callback_data,
int *errors);
+extern void string_get_priority_and_name (const char *string,
+ int *priority,
+ const char **name,
+ int default_priority);
extern const char *string_shared_get (const char *string);
extern void string_shared_free (const char *string);
extern char **string_dyn_alloc (int size_alloc);