112 bytes
More...
#include <lsd.h>
112 bytes
Definition at line 241 of file lsd.h.
◆ class_data
void* lives_struct_def_t::class_data |
fields in the struct_def_t struct itself
Definition at line 266 of file lsd.h.
◆ copied_struct_callback
user_data for new_struct_callback
called from lives_struct_copy
Definition at line 257 of file lsd.h.
◆ copied_user_data
void* lives_struct_def_t::copied_user_data |
◆ destroy_struct_callback
user_data for clone_struct_callback
Definition at line 260 of file lsd.h.
◆ destroy_user_data
void* lives_struct_def_t::destroy_user_data |
called from lives_struct_free if refcount is 0
Definition at line 261 of file lsd.h.
◆ end_id
uint64_t lives_struct_def_t::end_id |
user_data for instances of struct, reset on copy
Definition at line 268 of file lsd.h.
◆ generation
uint32_t lives_struct_def_t::generation |
initialized as 1 and incremented on each copy
Definition at line 246 of file lsd.h.
◆ identifier
uint64_t lives_struct_def_t::identifier |
◆ last_field
name of last field of struct (informational only)
Definition at line 252 of file lsd.h.
◆ new_struct_callback
called from lives_struct_new
Definition at line 254 of file lsd.h.
◆ new_user_data
void* lives_struct_def_t::new_user_data |
◆ refcount
int32_t lives_struct_def_t::refcount |
randomly generted id, unique to each instance
refcount, set to 1 on creation, free unrefs and only frees when 0.
Definition at line 245 of file lsd.h.
◆ self_fields
may be NULL, else is pointer to NULL terminated array
Definition at line 264 of file lsd.h.
◆ special_fields
user_data for delete_struct_callback
Definition at line 263 of file lsd.h.
◆ structsize
size_t lives_struct_def_t::structsize |
type of the struct as string, e.g "lives_struct_def_t"
bytesize of parent struct (sizef(struct))
Definition at line 251 of file lsd.h.
◆ structtype
◆ top
void* lives_struct_def_t::top |
ptr to the start of parent struct itself, typecast to a void *
Definition at line 248 of file lsd.h.
◆ unique_id
uint64_t lives_struct_def_t::unique_id |
default: LIVES_STRUCT_ID
Definition at line 243 of file lsd.h.
◆ user_data
void* lives_struct_def_t::user_data |
user_data, value maintained across clones
Definition at line 267 of file lsd.h.
The documentation for this struct was generated from the following file: