libmizu 0.2.0
Lock-free shared-memory IPC at thread speed in C11
Loading...
Searching...
No Matches
mizu_bytes_s Struct Reference

A byte buffer. More...

#include <mizu_ext.h>

Data Fields

void * data
size_t len

Detailed Description

A byte buffer.

Send: the consumer fills {data, len} and passes its address as the verb's obj. Recv: the binding returns a malloc'd mizu_bytes (data rides the same allocation); release with mizu_bytes_free (an export rather than a documented free(), so a shared-library build never crosses allocator domains). Fixed layout, never extended.


The documentation for this struct was generated from the following file: