Skip to content

Commit 757d407

Browse files
committed
Move remaining macros to gdnative::log
1 parent 3287dfb commit 757d407

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

gdnative-core/src/log.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
use std::ffi::CStr;
33
use std::fmt::{self, Display};
44

5+
// Collection of macros accessing the Godot engine log/print functionality
6+
pub use crate::{godot_dbg, godot_error, godot_print, godot_warn};
7+
58
use crate::core_types::GodotString;
69
use crate::private;
710

gdnative/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@
6060
#[doc(inline)]
6161
pub use gdnative_core::{core_types, export, init, log, object, profiler};
6262

63-
/// Collection of declarative `godot_*` macros, mostly for GDNative registration and output.
64-
pub mod macros {
65-
pub use gdnative_core::{godot_dbg, godot_error, godot_print, godot_warn};
66-
}
67-
6863
// Implementation details (e.g. used by macros).
6964
// However, do not re-export macros (on crate level), thus no wildcard
7065
#[doc(hidden)]

0 commit comments

Comments
 (0)