mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
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:
@@ -7,7 +7,6 @@ const DC_ARRAY_MAGIC: uint32_t = 0x000a11aa;
|
|||||||
|
|
||||||
/* * the structure behind dc_array_t */
|
/* * the structure behind dc_array_t */
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
#[repr(C)]
|
|
||||||
pub struct dc_array_t {
|
pub struct dc_array_t {
|
||||||
pub magic: uint32_t,
|
pub magic: uint32_t,
|
||||||
pub allocated: size_t,
|
pub allocated: size_t,
|
||||||
|
|||||||
Reference in New Issue
Block a user