Crate ffi_pool

Source
Expand description

§ffi-pool: useful object pool types for FFI code

This crate contains some useful object pool types for interfacing with C code (at the moment, just CStringPool.)

Structs§

CStringPool
A thread-safe pool of CStrings which can be readily reused with strs for ease of FFI interactions.
NulError
An error returned upon finding a nul byte in a string we are attempting to convert to a CString.