From a0594338b22b7dbac1220ac8c2eea361e337c2a9 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 22 Jul 2019 00:01:46 +0300 Subject: [PATCH] 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. --- src/dc_array.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dc_array.rs b/src/dc_array.rs index f62b2ee3f..3d15ef356 100644 --- a/src/dc_array.rs +++ b/src/dc_array.rs @@ -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,