Rewrite WUtils tree.c in Rust #6
Reference in New Issue
Block a user
Delete Branch "trurl/wmaker:refactor/wutil-rs-tree"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This reduces the surface area of the tree API because it's almost completely unused.
Rewrite WUtils WMTreeNode in Rustto Rewrite WUtils tree.c in Rust@@ -0,0 +96,4 @@}let parent = unsafe { &mut *parent };if tree.is_null() {I wonder about extracting this into a small function that wraps an
Optionor something? Probably not worth it.I think this is going to be replaced soon enough, so I'll merge as-is.
c598b034f5to9802b684ae