51
52
53
54
55
56
57
58
59
60
61
62
|
for (i = 0; i < cfw_array_size(a); i++)
cfw_string_append(s[0], cfw_array_get(a, i));
cfw_unref(a);
puts(cfw_string_c(s[0]));
cfw_unref(s[0]);
return 0;
}
|
>
>
>
>
|
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
for (i = 0; i < cfw_array_size(a); i++)
cfw_string_append(s[0], cfw_array_get(a, i));
cfw_unref(a);
puts(cfw_string_c(s[0]));
s[1] = cfw_new(cfw_string, "ll");
printf("%zd\n", cfw_string_find(s[0], s[1], cfw_range_all));
cfw_unref(s[1]);
cfw_unref(s[0]);
return 0;
}
|