msfs/
sys.rs

1#![allow(clippy::all)]
2#![allow(non_upper_case_globals)]
3#![allow(non_camel_case_types)]
4#![allow(non_snake_case)]
5#![allow(dead_code)]
6#![allow(deref_nullptr)]
7#![allow(unsafe_op_in_unsafe_fn)]
8include!(concat!(env!("OUT_DIR"), "/msfs-sys.rs"));
9
10// https://github.com/rustwasm/team/issues/291
11unsafe extern "C" {
12    pub fn nvgStrokeColor(ctx: *mut NVGcontext, color: *const NVGcolor);
13    pub fn nvgStrokePaint(ctx: *mut NVGcontext, paint: *const NVGpaint);
14    pub fn nvgFillColor(ctx: *mut NVGcontext, color: *const NVGcolor);
15    pub fn nvgFillPaint(ctx: *mut NVGcontext, paint: *const NVGpaint);
16}