Remove repr(C) from dc_array_t

All members of dc_array_t structure are private, C code does not need to interact with them.
This commit is contained in:
Alexander Krotov
2019-07-22 00:01:46 +03:00
parent 4902310138
commit a0594338b2

View File

@@ -7,7 +7,6 @@ const DC_ARRAY_MAGIC: uint32_t = 0x000a11aa;
/* * the structure behind dc_array_t */
#[derive(Copy, Clone)]
#[repr(C)]
pub struct dc_array_t {
pub magic: uint32_t,
pub allocated: size_t,