Skip to content

Commit 091b9a7

Browse files
committed
Rename godot-input -> godot-bindings
1 parent 8b2ca91 commit 091b9a7

File tree

12 files changed

+14
-14
lines changed

12 files changed

+14
-14
lines changed

godot-input/Cargo.toml renamed to godot-bindings/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "godot-input"
2+
name = "godot-bindings"
33
version = "0.1.0"
44
edition = "2021"
55
rust-version = "1.63"

godot-input/res/tweak.patch renamed to godot-bindings/res/tweak.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
diff --git b/godot-input/gen/gdextension_interface.h a/godot-input/gen/gdextension_interface.h
1+
diff --git b/godot-bindings/gen/gdextension_interface.h a/godot-bindings/gen/gdextension_interface.h
22
index 0b7615f..6db266e 100644
3-
--- b/godot-input/gen/gdextension_interface.h
4-
+++ a/godot-input/gen/gdextension_interface.h
3+
--- b/godot-bindings/gen/gdextension_interface.h
4+
+++ a/godot-bindings/gen/gdextension_interface.h
55
@@ -139,22 +139,22 @@ typedef enum {
66

77
} GDExtensionVariantOperator;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

godot-codegen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ default = []
1212
codegen-fmt = []
1313
codegen-full = []
1414
double-precision = []
15-
custom-godot = ["godot-input/custom-godot"]
15+
custom-godot = ["godot-bindings/custom-godot"]
1616

1717
[dependencies]
18-
godot-input = { path = "../godot-input" }
18+
godot-bindings = { path = "../godot-bindings" }
1919
heck = "0.4"
2020
nanoserde = "0.1.29"
2121
proc-macro2 = "1"

godot-codegen/src/api_parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl MethodReturn {
216216
// ----------------------------------------------------------------------------------------------------------------------------------------------
217217
// Implementation
218218

219-
pub fn load_extension_api(watch: &mut godot_input::StopWatch) -> (ExtensionApi, &'static str) {
219+
pub fn load_extension_api(watch: &mut godot_bindings::StopWatch) -> (ExtensionApi, &'static str) {
220220
// For float/double inference, see:
221221
// * https://github.com/godotengine/godot-proposals/issues/892
222222
// * https://github.com/godotengine/godot-cpp/pull/728
@@ -226,7 +226,7 @@ pub fn load_extension_api(watch: &mut godot_input::StopWatch) -> (ExtensionApi,
226226
let build_config = "float_64"; // TODO infer this
227227

228228
// Use type inference, so we can accept both String (dynamically resolved) and &str (prebuilt).
229-
let json = godot_input::load_gdextension_json(watch);
229+
let json = godot_bindings::load_gdextension_json(watch);
230230
let json_str: &str = json.as_ref();
231231

232232
let model: ExtensionApi =

godot-codegen/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use proc_macro2::{Ident, TokenStream};
2929
use quote::{quote, ToTokens};
3030
use std::path::{Path, PathBuf};
3131

32-
pub fn generate_sys_files(sys_gen_path: &Path, watch: &mut godot_input::StopWatch) {
32+
pub fn generate_sys_files(sys_gen_path: &Path, watch: &mut godot_bindings::StopWatch) {
3333
let mut out_files = vec![];
3434

3535
generate_sys_mod_file(sys_gen_path, &mut out_files);
@@ -47,7 +47,7 @@ pub fn generate_sys_files(sys_gen_path: &Path, watch: &mut godot_input::StopWatc
4747

4848
pub fn generate_core_files(core_gen_path: &Path) {
4949
let mut out_files = vec![];
50-
let mut watch = godot_input::StopWatch::start();
50+
let mut watch = godot_bindings::StopWatch::start();
5151

5252
generate_core_mod_file(core_gen_path, &mut out_files);
5353

0 commit comments

Comments
 (0)