Skip to content

Commit c4c5281

Browse files
committed
Remove lesser-used macros from prelude
Removed: * godot_gdnative_init * godot_gdnative_terminate * godot_nativescript_init * godot_site Also documented prelude::user_data
1 parent 757d407 commit c4c5281

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

gdnative/src/prelude.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ pub use gdnative_core::object::{
2727
ownership::{Shared, ThreadLocal, Unique},
2828
AsArg, GodotObject, Instanciable, NewRef, Null, QueueFree, Ref, SubClass, TRef,
2929
};
30-
pub use gdnative_core::{
31-
godot_dbg, godot_error, godot_gdnative_init, godot_gdnative_terminate, godot_init,
32-
godot_nativescript_init, godot_print, godot_site, godot_warn,
33-
};
30+
pub use gdnative_core::{godot_dbg, godot_error, godot_init, godot_print, godot_warn};
3431
pub use gdnative_derive::*;
3532

36-
// Re-export selected user_data types, but keep qualified due to rather generic names
33+
/// User-data attributes from [`export::user_data`][crate::export::user_data] module.
3734
pub mod user_data {
35+
// Re-export selected user_data types, but keep qualified due to rather generic names
3836
pub use gdnative_core::export::user_data::{
3937
Aether, ArcData, LocalCellData, MutexData, RwLockData,
4038
};

0 commit comments

Comments
 (0)