Add missing sync, send for pointer types such as vk::Device
This commit is contained in:
parent
463e862a45
commit
7765ed80c1
1 changed files with 3 additions and 0 deletions
|
@ -3217,6 +3217,9 @@ pub mod types {
|
|||
ptr: *mut u8
|
||||
}
|
||||
|
||||
unsafe impl Send for $name {}
|
||||
unsafe impl Sync for $name {}
|
||||
|
||||
impl $name{
|
||||
pub unsafe fn null() -> Self{
|
||||
$name{
|
||||
|
|
Loading…
Add table
Reference in a new issue