From: Kostya Shishkov Date: Tue, 12 Feb 2019 14:25:54 +0000 (+0100) Subject: add repr(C) to FFTComplex just in case X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=b01971f27e651b8cc4bfefdf0ef763768baf1fa3;p=nihav.git add repr(C) to FFTComplex just in case --- diff --git a/nihav-core/src/dsp/fft.rs b/nihav-core/src/dsp/fft.rs index 3727e38..2ab9554 100644 --- a/nihav-core/src/dsp/fft.rs +++ b/nihav-core/src/dsp/fft.rs @@ -2,6 +2,7 @@ use std::f32::{self, consts}; use std::ops::{Not, Neg, Add, AddAssign, Sub, SubAssign, Mul, MulAssign}; use std::fmt; +#[repr(C)] #[derive(Debug,Clone,Copy,PartialEq)] pub struct FFTComplex { pub re: f32,