diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 18:56:33 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-03-18 18:56:33 +0000 |
commit | 14c13854d3cae9d93c3d148be30fb72f1eaffe55 (patch) | |
tree | 7b1a3e41b75490fac4d45722c90a1847543c6796 /src/libmime/lang_detection.h | |
parent | 6b2b4167187fee09365271cca182866ecb029af3 (diff) | |
download | rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.tar.gz rspamd-14c13854d3cae9d93c3d148be30fb72f1eaffe55.zip |
[Rework] Further types conversion (no functional changes)
Diffstat (limited to 'src/libmime/lang_detection.h')
-rw-r--r-- | src/libmime/lang_detection.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libmime/lang_detection.h b/src/libmime/lang_detection.h index 5423c13b7..45d3b24b6 100644 --- a/src/libmime/lang_detection.h +++ b/src/libmime/lang_detection.h @@ -60,8 +60,8 @@ enum rspamd_language_elt_flags { }; struct rspamd_lang_detector_res { - gdouble prob; - const gchar *lang; + double prob; + const char *lang; struct rspamd_language_elt *elt; }; @@ -95,14 +95,14 @@ gboolean rspamd_language_detector_detect(struct rspamd_task *task, * @return */ gboolean rspamd_language_detector_is_stop_word(struct rspamd_lang_detector *d, - const gchar *word, gsize wlen); + const char *word, gsize wlen); /** * Return language flags for a specific language elt * @param elt * @return */ -gint rspamd_language_detector_elt_flags(const struct rspamd_language_elt *elt); +int rspamd_language_detector_elt_flags(const struct rspamd_language_elt *elt); #ifdef __cplusplus } #endif |