|
predsync C ABI 0.1.0
C bindings for deterministic low-bandwidth state sync
|
One value crossing the C boundary. More...
#include <predsync.h>
Public Attributes | |
| PredsyncValueKind | kind |
| Which representation is present. | |
| PredsyncScalarKind | element |
| The scalar or list-element type. | |
| uint64_t | scalar |
| Slot bits for a scalar value. | |
| const void * | ptr |
| Borrowed bytes for strings, or slot bits for lists. | |
| uintptr_t | len |
| Byte count for strings, element count for lists. | |
| uintptr_t | cap |
| Caller-provided capacity in bytes. | |
One value crossing the C boundary.
| uintptr_t PredsyncValue::cap |
Caller-provided capacity in bytes.
| PredsyncScalarKind PredsyncValue::element |
The scalar or list-element type.
| PredsyncValueKind PredsyncValue::kind |
Which representation is present.
| uintptr_t PredsyncValue::len |
Byte count for strings, element count for lists.
| const void* PredsyncValue::ptr |
Borrowed bytes for strings, or slot bits for lists.
| uint64_t PredsyncValue::scalar |
Slot bits for a scalar value.