Add cfw_string_find().

This commit is contained in:
Jonathan Schleifer 2012-04-08 23:10:39 +02:00
parent e3a666226b
commit 6f0f55365b
3 changed files with 29 additions and 0 deletions

View file

@ -56,6 +56,10 @@ main()
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;