fmi_sys/fmi2/
mod.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(clippy::all)]
5include!(concat!(env!("OUT_DIR"), "/fmi2_bindings.rs"));
6
7pub mod logger;
8
9impl Default for fmi2EventInfo {
10    fn default() -> Self {
11        fmi2EventInfo {
12            newDiscreteStatesNeeded: 0,
13            terminateSimulation: 0,
14            nominalsOfContinuousStatesChanged: 0,
15            valuesOfContinuousStatesChanged: 0,
16            nextEventTimeDefined: 0,
17            nextEventTime: 0.0,
18        }
19    }
20}