Skip to content

Commit

Permalink
Merge pull request #1840 from eerii/master
Browse files Browse the repository at this point in the history
Update to the latest gir
  • Loading branch information
sdroege authored Sep 19, 2024
2 parents 7b84f94 + 4ce19bd commit 5a78919
Show file tree
Hide file tree
Showing 75 changed files with 705 additions and 209 deletions.
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gdk4-wayland/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
25 changes: 19 additions & 6 deletions gdk4-wayland/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@

use glib_sys as glib;

#[allow(unused_imports)]
use libc::{
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE,
};
#[cfg(unix)]
#[allow(unused_imports)]
use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
#[allow(unused_imports)]
use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE};
#[allow(unused_imports)]
use std::ffi::{
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
};

#[allow(unused_imports)]
use glib::{gboolean, gconstpointer, gpointer, GType};
Expand All @@ -31,6 +32,7 @@ pub type GdkWaylandToplevelExported =

// Records
#[repr(C)]
#[allow(dead_code)]
pub struct _GdkWaylandDeviceClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -39,6 +41,7 @@ pub struct _GdkWaylandDeviceClass {
pub type GdkWaylandDeviceClass = _GdkWaylandDeviceClass;

#[repr(C)]
#[allow(dead_code)]
pub struct _GdkWaylandDisplayClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -47,6 +50,7 @@ pub struct _GdkWaylandDisplayClass {
pub type GdkWaylandDisplayClass = _GdkWaylandDisplayClass;

#[repr(C)]
#[allow(dead_code)]
pub struct _GdkWaylandGLContextClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -55,6 +59,7 @@ pub struct _GdkWaylandGLContextClass {
pub type GdkWaylandGLContextClass = _GdkWaylandGLContextClass;

#[repr(C)]
#[allow(dead_code)]
pub struct _GdkWaylandMonitorClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -63,6 +68,7 @@ pub struct _GdkWaylandMonitorClass {
pub type GdkWaylandMonitorClass = _GdkWaylandMonitorClass;

#[repr(C)]
#[allow(dead_code)]
pub struct _GdkWaylandSeatClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -72,6 +78,7 @@ pub type GdkWaylandSeatClass = _GdkWaylandSeatClass;

// Classes
#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandDevice {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -85,6 +92,7 @@ impl ::std::fmt::Debug for GdkWaylandDevice {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandDisplay {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -98,6 +106,7 @@ impl ::std::fmt::Debug for GdkWaylandDisplay {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandGLContext {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -111,6 +120,7 @@ impl ::std::fmt::Debug for GdkWaylandGLContext {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandMonitor {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -124,6 +134,7 @@ impl ::std::fmt::Debug for GdkWaylandMonitor {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandPopup {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -137,6 +148,7 @@ impl ::std::fmt::Debug for GdkWaylandPopup {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandSeat {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -150,6 +162,7 @@ impl ::std::fmt::Debug for GdkWaylandSeat {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandSurface {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -163,6 +176,7 @@ impl ::std::fmt::Debug for GdkWaylandSurface {
}

#[repr(C)]
#[allow(dead_code)]
pub struct GdkWaylandToplevel {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
Expand All @@ -175,7 +189,6 @@ impl ::std::fmt::Debug for GdkWaylandToplevel {
}
}

#[link(name = "gtk-4")]
extern "C" {

//=========================================================================
Expand Down
4 changes: 2 additions & 2 deletions gdk4-wayland/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
4 changes: 2 additions & 2 deletions gdk4-win32/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)
Loading

0 comments on commit 5a78919

Please sign in to comment.