mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
UTF8 support
This commit is contained in:
parent
9962bca854
commit
471f0d4b50
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
for (i = _cyc_argc; i > 0; i--) {
|
||||
object ps = alloca(sizeof(string_type));
|
||||
object pl = alloca(sizeof(pair_type));
|
||||
make_string(s, _cyc_argv[i - 1]);
|
||||
make_utf8_string(data, s, _cyc_argv[i - 1]);
|
||||
memcpy(ps, &s, sizeof(string_type));
|
||||
((list)pl)->hdr.mark = gc_color_red;
|
||||
((list)pl)->hdr.grayed = 0;
|
||||
|
@ -44,7 +44,7 @@
|
|||
if (v == NULL) {
|
||||
return_closcall1(data, k, boolean_f);
|
||||
} else {
|
||||
make_string(str, v);
|
||||
make_utf8_string(data, str, v);
|
||||
return_closcall1(data, k, &str);
|
||||
}
|
||||
")
|
||||
|
|
Loading…
Add table
Reference in a new issue