fix *const in some setters
This commit is contained in:
parent
70acea569d
commit
deb83f4b2e
3575
ash/src/vk.rs
3575
ash/src/vk.rs
File diff suppressed because it is too large
Load diff
|
@ -1411,7 +1411,7 @@ pub fn derive_setters(_struct: &vkxml::Struct) -> Option<Tokens> {
|
|||
}
|
||||
}
|
||||
|
||||
if param_ty_string.starts_with("*const ") && param_ty_string.ends_with("Info") {
|
||||
if param_ty_string.starts_with("*const ") {
|
||||
let slice_param_ty_tokens = "&'a ".to_string() + ¶m_ty_string[7..];
|
||||
let slice_param_ty_tokens = Term::intern(&slice_param_ty_tokens);
|
||||
return Some(quote!{
|
||||
|
|
Loading…
Reference in a new issue