fn use_generated_bindings(app: &WolframApp) -> PathBuf {
    let wstp_h = app
        .wstp_c_header_path()
        .expect("unable to get 'wstp.h' location");

    println!(
        "cargo:warning=info: generating WSTP bindings from: {}",
        wstp_h.display()
    );

    let out_path =
        PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("WSTP_bindings.rs");

    generate_and_save_bindings_to_file(&wstp_h, &out_path);

    out_path
}
/// Use bindings that we generate now at compile time.
Use bindings that we generate now at compile time.
Use bindings that we generate now at compile time .
fn use_generated_bindings(app: &WolframApp) -> PathBuf {
    let wstp_h = app
        .wstp_c_header_path()
        .expect("unable to get 'wstp.h' location");
    println!(
        "cargo:warning=info: generating WSTP bindings from: {}",
        wstp_h.display()
    );
    let out_path =
        PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("WSTP_bindings.rs");
    generate_and_save_bindings_to_file(&wstp_h, &out_path);
    out_path
}
fn use_generated_bindings ( app : & WolframApp ) -> PathBuf { let wstp_h = app . wstp_c_header_path ( ) . expect ( " " ) ; println ! ( " " wstp_h display ( ) ) ; let out_path = PathBuf :: from ( std :: env :: var ( " " ) . unwrap ( ) ) . join ( " " ) ; generate_and_save_bindings_to_file ( & wstp_h , & out_path ) ; out_path }
Use bindings that we generate now at compile time.
Use bindings that we generate now at compile time .
app
&WolframApp