Skip to content

Commit 48b262e

Browse files
committed
gio: Generate DBusAnnotationInfo
1 parent 970feff commit 48b262e

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

gio/Gir.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,15 @@ name = "Gio.DataOutputStream"
580580
status = "generate"
581581
generate_builder = true
582582

583+
[[object]]
584+
name = "Gio.DBusAnnotationInfo"
585+
status = "generate"
586+
587+
[[object.function]]
588+
name = "lookup"
589+
# unsupported parameter type
590+
ignore = true
591+
583592
[[object]]
584593
name = "Gio.DBusConnection"
585594
concurrency = "send+sync"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
3+
// DO NOT EDIT
4+
5+
use crate::ffi;
6+
7+
glib::wrapper! {
8+
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
9+
pub struct DBusAnnotationInfo(Shared<ffi::GDBusAnnotationInfo>);
10+
11+
match fn {
12+
ref => |ptr| ffi::g_dbus_annotation_info_ref(ptr),
13+
unref => |ptr| ffi::g_dbus_annotation_info_unref(ptr),
14+
type_ => || ffi::g_dbus_annotation_info_get_type(),
15+
}
16+
}

gio/src/auto/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,9 @@ pub use self::zlib_compressor::ZlibCompressor;
459459
mod zlib_decompressor;
460460
pub use self::zlib_decompressor::ZlibDecompressor;
461461

462+
mod dbus_annotation_info;
463+
pub use self::dbus_annotation_info::DBusAnnotationInfo;
464+
462465
mod dbus_arg_info;
463466
pub use self::dbus_arg_info::DBusArgInfo;
464467

0 commit comments

Comments
 (0)