Files
chatmail-core/deltachat-ffi
Floris Bruynooghe 5438be891b Remove dc_context_unref from Rust API
This removes the dc_context_unref function from the Rust API which was
just an alias for dc_close.  It still exists on the C API where it
makes sure to free the memory.

It also implements Drop for the context which just calls dc_close to
make sure all the memory is freed.  Since you can call dc_close as
many times as you like this ensures that at the Rust level you can't
Drop the struct without releasing the memory.

Finally since memory is now freed by dropping the struct this removes
the #[repr(C)] for the struct.  This struct is fully opaque to the C
API.
2019-08-10 12:04:11 +02:00
..
2019-08-10 12:04:11 +02:00
2019-04-28 18:06:26 +03:00
2019-08-01 06:05:56 +00:00
2019-07-21 21:40:19 +02:00

Delta Chat C Interface