diff options
Diffstat (limited to 'gio/src/unixfdlist.ccg')
-rw-r--r-- | gio/src/unixfdlist.ccg | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gio/src/unixfdlist.ccg b/gio/src/unixfdlist.ccg index c4a65087..92aef941 100644 --- a/gio/src/unixfdlist.ccg +++ b/gio/src/unixfdlist.ccg @@ -22,8 +22,7 @@ namespace Gio { UnixFDList::UnixFDList(const Glib::ArrayHandle<int>& fds) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. +: // Mark this class as non-derived to allow C++ vfuncs to be skipped. Glib::ObjectBase(nullptr), // g_unix_fd_list_new_from_array() must be called. // Its parameters don't correspond to properties. @@ -35,8 +34,7 @@ UnixFDList::UnixFDList(const Glib::ArrayHandle<int>& fds) } UnixFDList::UnixFDList(const Glib::ArrayHandle<int>& fds, int n_fds) -: - // Mark this class as non-derived to allow C++ vfuncs to be skipped. +: // Mark this class as non-derived to allow C++ vfuncs to be skipped. Glib::ObjectBase(nullptr), // g_unix_fd_list_new_from_array() must be called. // Its parameters don't correspond to properties. @@ -47,7 +45,8 @@ UnixFDList::UnixFDList(const Glib::ArrayHandle<int>& fds, int n_fds) { } -const Glib::ArrayHandle<int> UnixFDList::peek_fds() const +const Glib::ArrayHandle<int> +UnixFDList::peek_fds() const { int length = 0; const auto fds = g_unix_fd_list_peek_fds(const_cast<GUnixFDList*>(gobj()), &length); @@ -56,7 +55,8 @@ const Glib::ArrayHandle<int> UnixFDList::peek_fds() const return Glib::ArrayHandle<int>(fds, length, Glib::OWNERSHIP_NONE); } -Glib::ArrayHandle<int> UnixFDList::steal_fds() +Glib::ArrayHandle<int> +UnixFDList::steal_fds() { int length = 0; const auto fds = g_unix_fd_list_steal_fds(gobj(), &length); |