mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
* list.c (scm_list, scm_cons_star, scm_null_p, scm_list_p),
(scm_length, scm_append, scm_reverse, scm_list_ref), (scm_memq, scm_memv, scm_member, scm_delv_x, scm_delete_x), (scm_delq, scm_delv, scm_delete, scm_delq1_x, scm_delv1_x), (scm_delete1_x), gc.c (scm_map_free_list), (scm_free_list_length), hash.c (scm_hashq, scm_hashv), (scm_hash), hashtab.c (scm_hashq_ref, scm_hashq_set_x), (scm_hashq_remove_x, scm_hashv_ref, scm_hashv_set_x), (scm_hashv_remove_x, scm_hash_ref, scm_hash_set_x), (scm_hash_remove_x), ports.c (scm_pt_size, scm_pt_member), print.c (scm_current_pstate), scmsigs.c (scm_usleep), goops.c (scm_get_keyword, scm_sys_compute_slots): Added texinfo markup. * weaks.c (scm_weak_vector_p, scm_weak_key_hash_table_p), (scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p), rdelim.c (scm_read_delimited_x), strop.c (scm_string_index), symbols.c (scm_symbol_interned_p), numbers.c (scm_string_to_number), ports.c (scm_port_p): Corrected texinfo markup.
This commit is contained in:
parent
1543613f4b
commit
5352393c55
14 changed files with 210 additions and 163 deletions
|
@ -100,14 +100,16 @@ scm_i_index (SCM *str, SCM chr, int direction, SCM sub_start,
|
|||
|
||||
SCM_DEFINE (scm_string_index, "string-index", 2, 2, 0,
|
||||
(SCM str, SCM chr, SCM frm, SCM to),
|
||||
"Return the index of the first occurrence of @var{chr} in @var{str}. The\n"
|
||||
"optional integer arguments @var{frm} and @var{to} limit the search to\n"
|
||||
"a portion of the string. This procedure essentially implements the\n"
|
||||
"@code{index} or @code{strchr} functions from the C library.\n\n"
|
||||
"(qdocs:) Returns the index of @var{char} in @var{str}, or @code{#f} if the\n"
|
||||
"@var{char} isn't in @var{str}. If @var{frm} is given and not @code{#f},\n"
|
||||
"it is used as the starting index; if @var{to} is given and not @var{#f},\n"
|
||||
"it is used as the ending index (exclusive).\n\n"
|
||||
"Return the index of the first occurrence of @var{chr} in\n"
|
||||
"@var{str}. The optional integer arguments @var{frm} and\n"
|
||||
"@var{to} limit the search to a portion of the string. This\n"
|
||||
"procedure essentially implements the @code{index} or\n"
|
||||
"@code{strchr} functions from the C library.\n (qdocs:) Returns\n"
|
||||
"the index of @var{char} in @var{str}, or @code{#f} if the\n"
|
||||
"@var{char} isn't in @var{str}. If @var{frm} is given and not\n"
|
||||
"@code{#f}, it is used as the starting index; if @var{to} is\n"
|
||||
"given and not @code{#f}, it is used as the ending index\n"
|
||||
"(exclusive).\n\n"
|
||||
"@example\n"
|
||||
"(string-index \"weiner\" #\\e)\n"
|
||||
"@result{} 1\n\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue