Remove unused _cogl_memory_stack_rewind
Never used in mutter AFAICT. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
parent
935cb48f71
commit
0363f68561
@ -40,8 +40,5 @@ _cogl_memory_stack_new (size_t initial_size_bytes);
|
|||||||
void *
|
void *
|
||||||
_cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes);
|
_cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes);
|
||||||
|
|
||||||
void
|
|
||||||
_cogl_memory_stack_rewind (CoglMemoryStack *stack);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
_cogl_memory_stack_free (CoglMemoryStack *stack);
|
_cogl_memory_stack_free (CoglMemoryStack *stack);
|
||||||
|
@ -162,15 +162,6 @@ _cogl_memory_stack_alloc (CoglMemoryStack *stack, size_t bytes)
|
|||||||
return sub_stack->data;
|
return sub_stack->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
_cogl_memory_stack_rewind (CoglMemoryStack *stack)
|
|
||||||
{
|
|
||||||
stack->sub_stack = _cogl_container_of (stack->sub_stacks.next,
|
|
||||||
CoglMemorySubStack,
|
|
||||||
link);
|
|
||||||
stack->sub_stack_offset = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cogl_memory_sub_stack_free (CoglMemorySubStack *sub_stack)
|
_cogl_memory_sub_stack_free (CoglMemorySubStack *sub_stack)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user