core: remove "const" for first argument of function utf8_normalize
This commit is contained in:
parent
7ef99737d0
commit
cbdf4a4ae1
@ -1552,7 +1552,7 @@ Prototype:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_utf8_normalize (const char *string, char replacement);
|
||||
void weechat_utf8_normalize (char *string, char replacement);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
@ -1571,7 +1571,7 @@ Prototype :
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_utf8_normalize (const char *string, char replacement);
|
||||
void weechat_utf8_normalize (char *string, char replacement);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
|
@ -1531,7 +1531,7 @@ Prototipo:
|
||||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
void weechat_utf8_normalize (const char *string, char replacement);
|
||||
void weechat_utf8_normalize (char *string, char replacement);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
|
@ -134,7 +134,7 @@ utf8_is_valid (const char *string, char **error)
|
||||
*/
|
||||
|
||||
void
|
||||
utf8_normalize (const char *string, char replacement)
|
||||
utf8_normalize (char *string, char replacement)
|
||||
{
|
||||
char *error;
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern int local_utf8;
|
||||
extern void utf8_init ();
|
||||
extern int utf8_has_8bits (const char *string);
|
||||
extern int utf8_is_valid (const char *string, char **error);
|
||||
extern void utf8_normalize (const char *string, char replacement);
|
||||
extern void utf8_normalize (char *string, char replacement);
|
||||
extern char *utf8_prev_char (const char *string_start, const char *string);
|
||||
extern char *utf8_next_char (const char *string);
|
||||
extern int utf8_char_int (const char *string);
|
||||
|
@ -46,7 +46,7 @@ struct timeval;
|
||||
*/
|
||||
|
||||
/* API version (used to check that plugin has same API and can be loaded) */
|
||||
#define WEECHAT_PLUGIN_API_VERSION "20110726-01"
|
||||
#define WEECHAT_PLUGIN_API_VERSION "20110802-01"
|
||||
|
||||
/* macros for defining plugin infos */
|
||||
#define WEECHAT_PLUGIN_NAME(__name) \
|
||||
@ -212,7 +212,7 @@ struct t_weechat_plugin
|
||||
/* UTF-8 strings */
|
||||
int (*utf8_has_8bits) (const char *string);
|
||||
int (*utf8_is_valid) (const char *string, char **error);
|
||||
void (*utf8_normalize) (const char *string, char replacement);
|
||||
void (*utf8_normalize) (char *string, char replacement);
|
||||
char *(*utf8_prev_char) (const char *string_start, const char *string);
|
||||
char *(*utf8_next_char) (const char *string);
|
||||
int (*utf8_char_int) (const char *string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user