Cedro
Data Fields
Byte_array_mut_slice Struct Reference
Data Fields
mut_Byte_mut_p
start_p
mut_Byte_mut_p
end_p
Detailed Description
A slice of an array where the elements are
mut
able. Example:
Byte_mut_array a;
init_Byte_array
(&a, 0);
Byte_mut_array_slice s;
init_Byte_array_slice
(&s, &a, 3, 10);
assert(&s->start_p == &a->start + 3);
assert(&s->end_p == &a->start + 10);
init_Byte_array
static void init_Byte_array(mut_Byte_array_p _, size_t initial_capacity)
Definition:
cedro.c:379
init_Byte_array_slice
static void init_Byte_array_slice(mut_Byte_array_slice_p _, Byte_array_p array_p, size_t start, size_t end)
Definition:
cedro.c:379
Field Documentation
◆
end_p
mut_Byte_mut_p
Byte_array_mut_slice::end_p
End addres.
◆
start_p
mut_Byte_mut_p
Byte_array_mut_slice::start_p
Start address.
The documentation for this struct was generated from the following file:
cedro.c
Generated by
1.9.1