After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567087 - gi_cclosure_marshal_generic
gi_cclosure_marshal_generic
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on: 401080
Blocks:
 
 
Reported: 2009-01-08 21:57 UTC by Colin Walters
Modified: 2015-02-07 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adapted version of jdahlin's generic marshaler (5.81 KB, patch)
2009-01-08 21:58 UTC, Colin Walters
none Details | Review
Bug 567087 - generic marshaller (14.29 KB, patch)
2009-01-09 18:07 UTC, Colin Walters
accepted-commit_now Details | Review

Description Colin Walters 2009-01-08 21:57:41 UTC
Since gobject-introspection depends on ffi and GObject, it makes sense as a temporary home for jdahlin's patch from bug 401080.  

I've attached an adapted version of that patch suitable for gobject-introspection, until such time as the GObject maintainers accept a dependency on ffi. (Which maybe happens when introspection is stable and possibly merged into GObject?)
Comment 1 Colin Walters 2009-01-08 21:58:26 UTC
Created attachment 126061 [details] [review]
adapted version of jdahlin's generic marshaler

This patch is just adapted from jdahlin's patch in bug 401080.
Comment 2 Johan (not receiving bugmail) Dahlin 2009-01-08 22:01:17 UTC
Comment on attachment 126061 [details] [review]
adapted version of jdahlin's generic marshaler

I can't see any changes from the one I wrote.
If you copy the implementation you should probably copy the tests too.
Comment 3 Colin Walters 2009-01-09 18:07:00 UTC
Created attachment 126129 [details] [review]
Bug 567087 - generic marshaller

Since GObject-Introspection depends on both ffi and GObject, it's
a convenient home for jdahlin's generic signal marshaller until
such time as GObject can directly depend on ffi.

When it gets added to GObject, we can simply point our marshaller
at that one.
Comment 4 David Zeuthen (not reading bugmail) 2011-04-08 21:38:58 UTC
Just a heads up: I've included an adapted version of the patch in comment 3 on the gdbus-codegen branch of GLib:

 http://git.gnome.org/browse/glib/commit/?h=gdbus-codegen&id=88ab35f3cb6127036361e421987a127bddb989c8

The plan is to make this available in libgobject for 2.30.
Comment 5 David Zeuthen (not reading bugmail) 2011-04-29 17:33:31 UTC
(In reply to comment #4)
> Just a heads up: I've included an adapted version of the patch in comment 3 on
> the gdbus-codegen branch of GLib:
> 
> 
> http://git.gnome.org/browse/glib/commit/?h=gdbus-codegen&id=88ab35f3cb6127036361e421987a127bddb989c8
> 
> The plan is to make this available in libgobject for 2.30.

FYI this is now on GLib master.
Comment 6 André Klapper 2015-02-07 16:54:53 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]