Document libffi as new dependency

This commit is contained in:
Matthias Clasen 2011-08-08 23:16:07 +02:00
parent 5f9e5c1124
commit 9bcf89cd70
3 changed files with 10 additions and 1 deletions

View File

@ -68,6 +68,7 @@ Some of the mimetype-related functionality in GIO requires the
update-mime-database and update-desktop-database utilities, which update-mime-database and update-desktop-database utilities, which
are part of shared-mime-info and desktop-file-utils, respectively. are part of shared-mime-info and desktop-file-utils, respectively.
GObject uses libffi to implement generic marshalling functionality.
The Nitty-Gritty The Nitty-Gritty
================ ================

View File

@ -24,6 +24,14 @@ Installation
See the file 'INSTALL' See the file 'INSTALL'
Notes about GLib 2.30
=====================
* GObject includes a generic marshaller, g_cclosure_marshal_generic.
To use it, simply specify NULL as the marshaller in g_signal_new().
The generic marshaller is implemented with libffi, and consequently
GObject depends on libffi now.
Notes about GLib 2.28 Notes about GLib 2.28
===================== =====================

View File

@ -1310,7 +1310,7 @@ g_signal_query (guint signal_id,
* <code>super_class->signal_handler = my_signal_handler</code>. Instead they * <code>super_class->signal_handler = my_signal_handler</code>. Instead they
* will have to use g_signal_override_class_handler(). * will have to use g_signal_override_class_handler().
* *
* If c_marshaller is %NULL @g_cclosure_marshal_generic will be used as * If c_marshaller is %NULL, g_cclosure_marshal_generic() will be used as
* the marshaller for this signal. * the marshaller for this signal.
* *
* Returns: the signal id * Returns: the signal id