summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-12-03 16:56:01 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-12-10 16:05:14 +0100
commit71ae8f1907592a25d8fa6b10e02020f19c16b215 (patch)
tree42d2bccfc3f77ecca605e5441211cb827f69d8da /src/plugins/plugin.c
parente5cbbd781d814e321845598775f594f0f808e18e (diff)
downloadweechat-71ae8f1907592a25d8fa6b10e02020f19c16b215.zip
api: add function utf8_strncpy
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 6f2e7a5cc..b9b7584fb 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -665,6 +665,7 @@ plugin_load (const char *filename, int init_plugin, int argc, char **argv)
new_plugin->utf8_real_pos = &utf8_real_pos;
new_plugin->utf8_pos = &utf8_pos;
new_plugin->utf8_strndup = &utf8_strndup;
+ new_plugin->utf8_strncpy = &utf8_strncpy;
new_plugin->crypto_hash = &plugin_api_crypto_hash;
new_plugin->crypto_hash_file = &plugin_api_crypto_hash_file;