Sequal32 / simconnect-rust

SimConnect bindings for rust.
MIT License
32 stars 13 forks source link

Fixed build when used in Github Actions #20

Closed BitsAndDroids closed 1 month ago

BitsAndDroids commented 2 months ago

Out of nowhere, Bindgen was having issues parsing the issue: #19

#include "Windows.h"

header file caused failures downstream when defining the types. By changing it to:

#include <windows.h>

All seems to work again. Updated the Bindgen version and replaced a deprecated callback function

This PR also includes the fix for the example "update on change." It could cause a segfault due to an inappropriate pointer arrhythmia. issue: #16

@Sequal32

BitsAndDroids commented 2 months ago

@Sequal32 If you want help to maintain this repo, I'm down to help you out. If interested, you can reach me at info@{myusername}.com (to avoid bots scraping the address).

BitsAndDroids commented 1 month ago

Hey @BitsAndDroids thanks so much for your contribution again, and sorry for the delay! I'm going to be active enough to maintain this repo again, and feel free to keep submitting PRs. I'll hopefully be able to get to them quicker.

I'm just glad to see that you're doing well. I also implemented the changes and changed the version (0.4.0 wasn't semver).