What i'm saying is that imo it's not by accident. I think they used that
attribute to be able to pass the IOChannel struct where a GIOChannel
pointer is needed. IOChannel is a value-type and its layout is
sequential, hence there should be no padding or reordering in the
fields. So passing an IOChannel by value should result in passing a copy
of its fields, that is a copy of IOChannel::Handle, which should be
exactly the same as passing the Handle explicitly.

-- 
segfault in g_io_add_watch on PPC
https://bugs.launchpad.net/bugs/127424
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to