package core:container/intrusive/list
⌘K
Ctrl+K
or
/
Index
Constants (0)
This section is empty.
Variables (0)
This section is empty.
Procedure Groups (0)
This section is empty.
Types
Iterator ¶
Iterator :: struct($T: typeid) {}
Related Procedures With Parameters
Related Procedures With Returns
List ¶
An intrusive doubly-linked list
As this is an intrusive container, a Node
must be embedded in your own
structure which is conventionally called a "link". The use of push_front
and push_back
take the address of this node. Retrieving the data
associated with the node requires finding the relative offset of the node
of the parent structure. The parent type and field name are given to
iterator_*
procedures, or to the built-in container_of
procedure.
This data structure is two-pointers in size:
8 bytes on 32-bit platforms and 16 bytes on 64-bit platforms
Related Procedures With Parameters
Node ¶
Node :: struct { prev, next: ^Node, }
Related Procedures With Parameters
Related Procedures With Returns
Constants
This section is empty.
Variables
This section is empty.
Procedures
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2023-10 (vendor "odin") Windows_amd64 @ 2023-10-03 21:09:46.478135100 +0000 UTC