Skip to content

Commit 311b133

Browse files
committed
Add "validate_property" virtual func
- Change back privacy of StringName::from_opaque method. - Formatting fixes.
1 parent 2d043d1 commit 311b133

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: godot-core/src/builtin/string/string_name.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub struct StringName {
5656
}
5757

5858
impl StringName {
59-
pub(crate) fn from_opaque(opaque: sys::types::OpaqueStringName) -> Self {
59+
fn from_opaque(opaque: sys::types::OpaqueStringName) -> Self {
6060
Self { opaque }
6161
}
6262

Diff for: godot-core/src/meta/property_info.rs

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ impl PropertyInfo {
195195
let _hint_string = GString::from_owned_string_sys(info.hint_string);
196196
}
197197
}
198+
198199
/// Moves its values into given `GDExtensionPropertyInfo`, dropping previous values if necessary.
199200
///
200201
/// # Safety

0 commit comments

Comments
 (0)