- Include exported package information
- Include C include information
- g_udev_device_get_parent & g_udev_device_get_parent_with_subsystem
transfer ownership of their return values
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
--output $@ \
--pkg=glib-2.0 \
--pkg=gobject-2.0 \
--output $@ \
--pkg=glib-2.0 \
--pkg=gobject-2.0 \
+ --pkg-export=gudev-1.0 \
+ --c-include=gudev/gudev.h \
-I$(top_srcdir)/src/extras \
-I$(top_builddir)/src/extras \
-D_GUDEV_COMPILATION \
-I$(top_srcdir)/src/extras \
-I$(top_builddir)/src/extras \
-D_GUDEV_COMPILATION \
*
* Gets the immediate parent of @device, if any.
*
*
* Gets the immediate parent of @device, if any.
*
- * Returns: A #GUdevDevice or %NULL if @device has no parent. Free with g_object_unref().
+ * Returns: (transfer full): A #GUdevDevice or %NULL if @device has no parent. Free with g_object_unref().
*/
GUdevDevice *
g_udev_device_get_parent (GUdevDevice *device)
*/
GUdevDevice *
g_udev_device_get_parent (GUdevDevice *device)
* Walks up the chain of parents of @device and returns the first
* device encountered where @subsystem and @devtype matches, if any.
*
* Walks up the chain of parents of @device and returns the first
* device encountered where @subsystem and @devtype matches, if any.
*
- * Returns: A #GUdevDevice or %NULL if @device has no parent with @subsystem and @devtype. Free with g_object_unref().
+ * Returns: (transfer full): A #GUdevDevice or %NULL if @device has no parent with @subsystem and @devtype. Free with g_object_unref().
*/
GUdevDevice *
g_udev_device_get_parent_with_subsystem (GUdevDevice *device,
*/
GUdevDevice *
g_udev_device_get_parent_with_subsystem (GUdevDevice *device,