Benjamin Goldberg <[EMAIL PROTECTED]> wrote:
> To what does 'bufused' refer? The number of bytes from where to where?
Number of bytes from strstart to "strend".
> I *thought* that it was from bufstart to the end of the string... no?
No, bufstart is the physical buffer start used for reallocati
Leopold Toetsch wrote:
>
> Benjamin Goldberg <[EMAIL PROTECTED]> wrote:
>
> > Also, although we're told at the top of string.c to not look at
> > s->bufstart or s->buflen, I'd like to know if we are allowed to
> > assume/assert that for all strings, the following is true:
>
> >s->encoding-
Luke Palmer wrote:
>
> Benjamin Golberg writes:
> > Actually, these are mostly questions about the string_str_index
> > function.
>
> Uh oh...
>
> > I've some questions about bufstart, strstart, bufused, strlen and
> > encoding->characters?
> >
> > In string_str_index_multibyte, the lastmatch
Benjamin Goldberg <[EMAIL PROTECTED]> wrote:
> Also, although we're told at the top of string.c to not look at
> s->bufstart or s->buflen, I'd like to know if we are allowed to
> assume/assert that for all strings, the following is true:
>s->encoding->skip_forward( s->strstart, s->strlen ) ==
Benjamin Golberg writes:
> Actually, these are mostly questions about the string_str_index
> function.
Uh oh...
> I've some questions about bufstart, strstart, bufused, strlen and
> encoding->characters?
>
> In string_str_index_multibyte, the lastmatch variable is calculated as:
>
> const v
Actually, these are mostly questions about the string_str_index
function.
I've some questions about bufstart, strstart, bufused, strlen and
encoding->characters?
I *think* that ->characters is a fuction which gets passed a pointer to
the start of a buffer, and the number of bytes in the buffer,