all: handle unused zwp_table_tool_v2 interface
This commit is contained in:
parent
a46ab007df
commit
1e24e6ca1a
1 changed files with 4 additions and 0 deletions
|
|
@ -723,6 +723,10 @@ fn write_request_handler<W: Write>(
|
||||||
messages: &ParseResult,
|
messages: &ParseResult,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
writeln!(f)?;
|
writeln!(f)?;
|
||||||
|
// TODO: remove this after https://github.com/mahkoh/jay/pull/190
|
||||||
|
if camel_obj_name == "ZwpTabletToolV2" {
|
||||||
|
writeln!(f, " #[allow(dead_code)]")?;
|
||||||
|
}
|
||||||
writeln!(
|
writeln!(
|
||||||
f,
|
f,
|
||||||
" pub trait {camel_obj_name}RequestHandler: crate::object::Object + Sized {{"
|
" pub trait {camel_obj_name}RequestHandler: crate::object::Object + Sized {{"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue