Merge pull request #135 from sgrif/sg-sync-id

impl `Sync` for `ID`
This commit is contained in:
Godfrey Chan 2017-12-04 10:39:14 -08:00 committed by GitHub
commit 8ea2f0573a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ pub type c_string = *const libc::c_char;
#[derive(Eq, PartialEq, Hash, Copy, Clone, Debug)]
pub struct ID(*mut void);
unsafe impl Sync for ID {}
#[repr(C)]
#[derive(Eq, PartialEq, Copy, Clone, Debug)]
pub struct VALUE(*mut void);