Skip to content

Commit f62f4ee

Browse files
committed
merge
1 parent 5e8082a commit f62f4ee

File tree

3 files changed

+4
-27
lines changed

3 files changed

+4
-27
lines changed

crates/bevy_mod_scripting_core/src/bindings/function/arg_meta.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use std::{ffi::OsString, path::PathBuf};
44

55
use crate::{
6-
bindings::{ScriptValue, ReflectReference},
7-
docgen::TypedThrough,
6+
bindings::{ReflectReference, ScriptValue},
7+
docgen::TypedThrough, error::InteropError,
88
};
99

1010
use super::{

crates/bevy_mod_scripting_core/src/bindings/world.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use super::{
1212
}, function::{
1313
namespace::Namespace,
1414
script_function::{AppScriptFunctionRegistry, DynamicScriptFunction, FunctionCallContext},
15-
}, pretty_print::DisplayWithWorld, schedule::AppScheduleRegistry, script_value::ScriptValue, with_global_access, AppReflectAllocator, ReflectBase, ReflectBaseType, ReflectReference, ScriptComponentRegistration, ScriptResourceRegistration, ScriptTypeRegistration
15+
}, pretty_print::DisplayWithWorld, schedule::AppScheduleRegistry, script_value::ScriptValue, with_global_access, AppReflectAllocator, ReflectBase, ReflectBaseType, ReflectReference, ScriptComponentRegistration, ScriptResourceRegistration, ScriptTypeRegistration, Union
1616
};
1717
use crate::{
1818
bindings::{function::{from::FromScript, from_ref::FromScriptRef}, with_access_read, with_access_write},

crates/bevy_mod_scripting_core/src/private/mod.rs

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,5 @@ macro_rules! export_all_in_modules {
1111
};
1212
}
1313

14-
/// A macro for implementing [`GetTypeDependencies`] for types with no type dependencies.
15-
macro_rules! no_type_dependencies {
16-
($($path:path),*) => {
17-
$(
18-
impl $crate::bindings::function::type_dependencies::GetTypeDependencies for $path {
19-
fn register_type_dependencies(_registry: &mut bevy::reflect::TypeRegistry) {}
20-
}
21-
)*
22-
};
23-
}
24-
25-
/// A macro for implementing [`GetTypeDependencies`] for types that only depend on themselves.
26-
macro_rules! self_type_dependency_only {
27-
($($path:ty),*) => {
28-
$(
29-
impl $crate::bindings::function::type_dependencies::GetTypeDependencies for $path {
30-
fn register_type_dependencies(registry: &mut bevy::reflect::TypeRegistry) {
31-
registry.register::<$path>();
32-
}
33-
}
34-
)*
35-
};
36-
}
3714

38-
pub(crate) use {export_all_in_modules, no_type_dependencies, self_type_dependency_only};
15+
pub(crate) use export_all_in_modules;

0 commit comments

Comments
 (0)