xplane-sys 4.0.109

Low-level bindings for the X-Plane plugin SDK
Documentation
// SPDX-FileCopyrightText: 2024 Julia DeMille <me@jdemille.com>
//
// SPDX-License-Identifier: MIT

#include <stdio.h>
#include <stdlib.h>
#include "XPLMWeather.h"

XPLM_API void XPLMGetMETARForAirport(const char * airport_id, XPLMFixedString150_t * outMETAR) {
    fprintf(stderr, "\n\ncalled into a stub library. cannot continue, aborting");
    fprintf(stderr, "this really should not happen. check your dynamic libraries.\n\n");
    abort();
}

XPLM_API int XPLMGetWeatherAtLocation(double latitude, double longitude, double altitude_m, XPLMWeatherInfo_t * out_info) {
    fprintf(stderr, "\n\ncalled into a stub library. cannot continue, aborting");
    fprintf(stderr, "this really should not happen. check your dynamic libraries.\n\n");
    abort();
}