New API: hb_buffer_reverse_range()
This commit is contained in:
parent
f724cc3516
commit
81bedda58c
|
@ -1282,6 +1282,23 @@ hb_buffer_reverse (hb_buffer_t *buffer)
|
||||||
buffer->reverse ();
|
buffer->reverse ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* hb_buffer_reverse_range:
|
||||||
|
* @buffer: a buffer.
|
||||||
|
* @start: start index.
|
||||||
|
* @end: end index.
|
||||||
|
*
|
||||||
|
* Reverses buffer contents between start to end.
|
||||||
|
*
|
||||||
|
* Since: 1.0
|
||||||
|
**/
|
||||||
|
void
|
||||||
|
hb_buffer_reverse_range (hb_buffer_t *buffer,
|
||||||
|
unsigned int start, unsigned int end)
|
||||||
|
{
|
||||||
|
buffer->reverse_range (start, end);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* hb_buffer_reverse_clusters:
|
* hb_buffer_reverse_clusters:
|
||||||
* @buffer: a buffer.
|
* @buffer: a buffer.
|
||||||
|
|
|
@ -221,6 +221,10 @@ hb_buffer_allocation_successful (hb_buffer_t *buffer);
|
||||||
void
|
void
|
||||||
hb_buffer_reverse (hb_buffer_t *buffer);
|
hb_buffer_reverse (hb_buffer_t *buffer);
|
||||||
|
|
||||||
|
void
|
||||||
|
hb_buffer_reverse_range (hb_buffer_t *buffer,
|
||||||
|
unsigned int start, unsigned int end);
|
||||||
|
|
||||||
void
|
void
|
||||||
hb_buffer_reverse_clusters (hb_buffer_t *buffer);
|
hb_buffer_reverse_clusters (hb_buffer_t *buffer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue