structs_type_pointer
—
structs type for pointers
PDEL Library (libpdel, -lpdel)
The
STRUCTS_POINTER_TYPE
()
macro defines a
structs(3)
type (i.e., a struct structs_type
) for describing
pointers to data structures allocated from heap memory.
reftype is the structs type describing the pointed-to
data structure; it must be a pointer to a struct
structs_type
. mtype is the
typed_mem(3)
type used for allocating instances of the data structure.
The default value for this type is a pointer to a default value
data structure.
It is illegal for a pointer described by this type to be
NULL
.
The PDEL library was developed at Packet Design, LLC.
http://www.packetdesign.com/
Archie Cobbs
⟨archie@freebsd.org⟩