Clone for StorePath

This will be tested once we get the harmonia bindings in.
This commit is contained in:
John Ericson 2025-11-26 22:28:34 -05:00
parent f24b749c4a
commit 5cf732957c

View file

@ -64,6 +64,13 @@ impl StorePath {
self.raw.as_ptr()
}
}
impl Clone for StorePath {
fn clone(&self) -> Self {
unsafe { Self::new_raw_clone(self.raw) }
}
}
impl Drop for StorePath {
fn drop(&mut self) {
unsafe {