Gjsify LogoGjsify Logo

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

record

Hierarchy

  • TrashStack

Index

Constructors

Properties

Methods

Constructors

Properties

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

field
name: string

Methods

  • Returns the height of a #GTrashStack.

    Note that execution of this function is of O(N) complexity where N denotes the number of items on the stack.

    Parameters

    Returns number

  • Pushes a piece of memory onto a #GTrashStack.

    Parameters

    • stack_p: TrashStack

      a #GTrashStack

    • data_p: object

      the piece of memory to push on the stack

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method