1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(clippy::all)]
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(dead_code)]
#![allow(deref_nullptr)]
include!(concat!(env!("OUT_DIR"), "/msfs-sys.rs"));

// https://github.com/rustwasm/team/issues/291
extern "C" {
    pub fn nvgStrokeColor(ctx: *mut NVGcontext, color: *const NVGcolor);
    pub fn nvgStrokePaint(ctx: *mut NVGcontext, paint: *const NVGpaint);
    pub fn nvgFillColor(ctx: *mut NVGcontext, color: *const NVGcolor);
    pub fn nvgFillPaint(ctx: *mut NVGcontext, paint: *const NVGpaint);
}