Diff for libplaton/platon/str/strdyn.c between version 1.15 and 1.16
| version 1.15, 2002/02/25 18:46:00 |
version 1.16, 2002/02/28 08:48:56 |
| Line 243 strdyn_remove_empty(ar) |
|
| Line 243 strdyn_remove_empty(ar) |
|
| char ** |
char ** |
| strdyn_explode_chr(str, sep) |
strdyn_explode_chr(str, sep) |
| char *str; |
char *str; |
| char sep; |
int sep; |
| { |
{ |
| char sep_str[2]; |
char sep_str[2]; |
| |
|
| sep_str[0] = sep; |
sep_str[0] = (char) sep; |
| sep_str[1] = '\0'; |
sep_str[1] = '\0'; |
| |
|
| return strdyn_explode_str(str, sep_str); |
return strdyn_explode_str(str, sep_str); |
| Line 256 strdyn_explode_chr(str, sep) |
|
| Line 256 strdyn_explode_chr(str, sep) |
|
| char ** |
char ** |
| strdyn_explode2_chr(str, sep) |
strdyn_explode2_chr(str, sep) |
| char *str; |
char *str; |
| char sep; |
int sep; |
| { |
{ |
| |
|
| return strdyn_remove_empty(strdyn_explode_chr(str, sep)); |
return strdyn_remove_empty(strdyn_explode_chr(str, sep)); |
| Line 367 strdyn_explode2_ar(str, sep) |
|
| Line 367 strdyn_explode2_ar(str, sep) |
|
| char * |
char * |
| strdyn_implode_chr(ar, sep) |
strdyn_implode_chr(ar, sep) |
| char **ar; |
char **ar; |
| char sep; |
int sep; |
| { |
{ |
| char sep_str[2]; |
char sep_str[2]; |
| |
|
| sep_str[0] = sep; |
sep_str[0] = (char) sep; |
| sep_str[1] = '\0'; |
sep_str[1] = '\0'; |
| |
|
| return strdyn_implode_str(ar, sep_str); |
return strdyn_implode_str(ar, sep_str); |
| Line 380 strdyn_implode_chr(ar, sep) |
|
| Line 380 strdyn_implode_chr(ar, sep) |
|
| char * |
char * |
| strdyn_implode2_chr(ar, sep) |
strdyn_implode2_chr(ar, sep) |
| char **ar; |
char **ar; |
| char sep; |
int sep; |
| { |
{ |
| register char **new_ar; |
register char **new_ar; |
| register char *s; |
register char *s; |
Platon Group <platon@platon.org> http://platon.org/
|
|