Struct

GLibTrashStack

Description [src]

struct GTrashStack {
  GTrashStack* next;
}

Each piece of memory that is pushed onto the stack is cast to a GTrashStack*.

Structure members
next

Pointer to the previous element of the stack, gets stored in the first sizeof (gpointer) bytes of the element.

Deprecated since:2.48

GTrashStack is deprecated without replacement.

Functions

g_trash_stack_height

Returns the height of a GTrashStack.

Deprecated since: 2.48

g_trash_stack_peek

Returns the element at the top of a GTrashStack which may be NULL.

Deprecated since: 2.48

g_trash_stack_pop

Pops a piece of memory off a GTrashStack.

Deprecated since: 2.48

g_trash_stack_push

Pushes a piece of memory onto a GTrashStack.

Deprecated since: 2.48