Skip to content

Commit 00740ad

Browse files
committed
Allow users to generate API from user-provided JSON and headers
- Fix errors in `godot_exe.rs`.
1 parent 34b2086 commit 00740ad

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

godot-bindings/src/godot_exe.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ use crate::header_gen::{generate_rust_binding, patch_c_header};
1212
use crate::watch::StopWatch;
1313
use crate::GodotVersion;
1414

15-
use regex::Regex;
1615
use std::fs;
1716
use std::path::{Path, PathBuf};
1817
use std::process::{Command, Output};

godot-bindings/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ mod depend_on_custom {
6060
}
6161

6262
pub fn write_gdextension_headers(h_path: &Path, rs_path: &Path, watch: &mut StopWatch) {
63-
godot_exe::write_gdextension_headers(h_path, h_path, rs_path, false, watch);
63+
godot_exe::write_gdextension_headers(h_path, rs_path, false, watch);
6464
}
6565

6666
#[cfg(feature = "api-custom-extheader")]

0 commit comments

Comments
 (0)