Relative Content

Tag Archive for crustffi

Borrow checking for C struct field

Imagine that C API exposes opaque pointer to some data and two accessors to some field void set_string(struct foo*, const char*) and const char* get_string(struct foo*) and that documentation states something along the lines