Clone for StorePath
This will be tested once we get the harmonia bindings in.
This commit is contained in:
parent
f24b749c4a
commit
5cf732957c
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue