Skip to content

Commit a451e1b

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 b389db7 commit a451e1b

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
@@ -26,14 +26,12 @@ pub use gdnative_core::object::{
2626
AsArg, GodotObject, Instance, Instanciable, NewRef, Null, QueueFree, Ref, RefInstance,
2727
SubClass, TRef,
2828
};
29-
pub use gdnative_core::{
30-
godot_dbg, godot_error, godot_gdnative_init, godot_gdnative_terminate, godot_init,
31-
godot_nativescript_init, godot_print, godot_site, godot_warn,
32-
};
29+
pub use gdnative_core::{godot_dbg, godot_error, godot_init, godot_print, godot_warn};
3330
pub use gdnative_derive::*;
3431

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

0 commit comments

Comments
 (0)