forked from vitrine/wmaker
Remove VoidPointer impls that were commented out in previous commit.
This commit is contained in:
@@ -69,22 +69,6 @@ impl HashTable {
|
||||
}
|
||||
}
|
||||
|
||||
// #[derive(Debug, Eq, PartialEq, Hash)]
|
||||
// #[repr(transparent)]
|
||||
// pub struct VoidPointer(*mut u8);
|
||||
|
||||
// impl Drop for VoidPointer {
|
||||
// fn drop(&mut self) {
|
||||
// unsafe { wfree(self.0.cast::<c_void>()) }
|
||||
// }
|
||||
// }
|
||||
|
||||
// impl Borrow<*mut u8> for VoidPointer {
|
||||
// fn borrow(&self) -> &*mut u8 {
|
||||
// &self.0
|
||||
// }
|
||||
// }
|
||||
|
||||
#[derive(Debug)]
|
||||
#[repr(transparent)]
|
||||
pub struct StringKey(*const u8);
|
||||
|
||||
Reference in New Issue
Block a user