]> Nishi Git Mirror - gwion.git/commitdiff
:art: rename => to_char
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 12 Jul 2020 17:20:13 +0000 (19:20 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 12 Jul 2020 17:20:13 +0000 (19:20 +0200)
src/lib/string.c

index db344bef8b51e146ff19b8b1f78f1f258578e2b8..665cc329ae633c584d3d636b0720311d0df2d228 100644 (file)
@@ -570,8 +570,8 @@ GWION_IMPORT(string) {
   gwi_func_ini(gwi, "float", "toFloat");
   GWI_BB(gwi_func_end(gwi, string_toFloat, ae_flag_none))
 
-  gwi_func_ini(gwi, "string", "char");
-  gwi_func_arg(gwi, "int", "c");
+  gwi_func_ini(gwi, "string", "from_char");
+  gwi_func_arg(gwi, "char", "c");
   GWI_BB(gwi_func_end(gwi, char_toString, ae_flag_static))
   GWI_BB(gwi_class_end(gwi))