Skip to content

Commit 56db2d6

Browse files
committed
Make nativescript::class private
1 parent f220898 commit 56db2d6

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

gdnative-core/src/nativescript/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub(crate) mod class_registry;
44
mod emplace;
55
mod macros;
66

7-
pub mod class;
7+
mod class;
88
pub mod init;
99
pub mod profiling;
1010
pub mod type_tag;

gdnative/src/prelude.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,15 @@ pub use gdnative_core::core_types::{
99
FromVariant, FromVariantError, OwnedToVariant, ToVariant, ToVariantEq,
1010
};
1111

12-
pub use gdnative_core::object::{
13-
AsArg, GodotObject, Instanciable, NewRef, Null, QueueFree, Ref, SubClass, TRef,
14-
};
15-
1612
pub use gdnative_core::object::{
1713
memory::{ManuallyManaged, RefCounted},
1814
ownership::{Shared, ThreadLocal, Unique},
15+
AsArg, GodotObject, Instanciable, NewRef, Null, QueueFree, Ref, SubClass, TRef,
1916
};
2017

2118
pub use gdnative_core::nativescript::{
2219
self,
23-
init::{
24-
ClassBuilder, ExportInfo, InitHandle, Method, MethodBuilder, PropertyUsage, Signal,
25-
SignalArgument,
26-
},
20+
init::{ClassBuilder, InitHandle, Method, MethodBuilder, Signal, SignalArgument, ExportInfo, PropertyUsage},
2721
user_data::{self, Aether, ArcData, LocalCellData, MutexData, RwLockData},
2822
Instance, NativeClass, NativeClassMethods, RefInstance,
2923
};

0 commit comments

Comments
 (0)