11pub use gdnative_core:: core_types:: {
2- self , Aabb , Basis , ByteArray , Color , ColorArray , Dictionary , Float32Array , GodotError ,
3- GodotString , Int32Array , NodePath , Plane , Quat , Rect2 , Rid , StringArray , StringName , Transform ,
4- Transform2D , TypedArray , Variant , VariantArray , VariantDispatch , VariantOperator , VariantType ,
5- Vector2 , Vector2Array , Vector3 , Vector3Array ,
2+ Aabb , Basis , ByteArray , Color , ColorArray , Dictionary , Float32Array , GodotError , GodotString ,
3+ Int32Array , NodePath , Plane , Quat , Rect2 , Rid , StringArray , StringName , Transform , Transform2D ,
4+ TypedArray , Variant , VariantArray , VariantDispatch , VariantOperator , VariantType , Vector2 ,
5+ Vector2Array , Vector3 , Vector3Array ,
66} ;
77
88pub use gdnative_core:: core_types:: {
@@ -16,15 +16,20 @@ pub use gdnative_core::object::{
1616} ;
1717
1818pub use gdnative_core:: nativescript:: {
19- self ,
2019 export:: {
2120 ClassBuilder , ExportInfo , InitHandle , Method , MethodBuilder , PropertyUsage , Signal ,
2221 SignalArgument ,
2322 } ,
24- user_data:: { self , Aether , ArcData , LocalCellData , MutexData , RwLockData } ,
2523 Instance , NativeClass , NativeClassMethods , RefInstance ,
2624} ;
2725
26+ // Re-export selected user_data types, but keep qualified due to rather generic names
27+ pub mod user_data {
28+ pub use gdnative_core:: nativescript:: user_data:: {
29+ Aether , ArcData , LocalCellData , MutexData , RwLockData ,
30+ } ;
31+ }
32+
2833pub use gdnative_core:: {
2934 godot_dbg, godot_error, godot_gdnative_init, godot_gdnative_terminate, godot_init,
3035 godot_nativescript_init, godot_print, godot_site, godot_warn,
0 commit comments